Skip to contentSkip to conversation

rtc: raspberrypi: do not mark the file comment as kernel-doc

PATCH New Aryan Sinha 2 participants 2 messages Nov 4

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: raspberrypi: do not mark the file comment as kernel-doc

The file header opens with /** but is not kernel-doc, so kernel-doc tries to attach it to the RTC_TIME define below and warns about it. Instead use a plain comment.

---
 drivers/rtc/rtc-raspberrypi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-raspberrypi.c +1 -1
index 0547a96c6..657734b96 100644
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
-/**
+/*
  * rtc-raspberrypi.c
  *
  * RTC driver using firmware mailbox
Signature · 1 line
2.46.0
#1 lore raw
Sashiko has reviewed this patch and found no issues.
Quoted 4 lines

The file header opens with /** but is not kernel-doc, so kernel-doc tries to attach it to the RTC_TIME define below and warns about it. Instead use a plain comment.

Sashiko has reviewed this patch and found no issues.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1