driver/rtc: remove a warning during scripts/kernel-doc step
PATCH 1/1 driver/rtc: remove a warning during scripts/kernel-doc step
During compilation using W=1 one would get:
drivers/rtc/systohc.c:11: info: Scanning doc for rtc_set_ntp_time drivers/rtc/systohc.c:23: warning: bad line: (
Signed-off-by Mathieu Malaterre <[email protected]>
--- drivers/rtc/systohc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/systohc.c +1 -1
@@ -20,7 +20,7 @@* cases. * * -EPROTO is returned if now.tv_nsec is not close enough to *target_nsec. -( +* * If temporary failure is indicated the caller should try again 'soon' */ int rtc_set_ntp_time (struct timespec64 now,unsigned long *target_nsec)
Signature · 1 line
2.11.0
ping ?
Quoted 26 lines · Mathieu Malaterre
During compilation using W=1 one would get:
drivers/rtc/systohc.c:11: info: Scanning doc forrtc_set_ntp_timedrivers/rtc/systohc.c:23: warning: bad line: (Signed-off-by Mathieu Malaterre <[email protected]>--- drivers/rtc/systohc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/rtc/systohc.c +1
-2@@ -20,7 +20,7 @@* cases. * * -EPROTO is returned if now.tv_nsec is not close enough to *target_nsec. -( +* * If temporary failure is indicated the caller should try again 'soon' */ int rtc_set_ntp_time (struct timespec64 now,unsigned long *target_nsec) --2.11.0
Alexandre Belloni
AppliedQuoted 10 lines · Mathieu Malaterre
During compilation using W=1 one would get:
drivers/rtc/systohc.c:11: info: Scanning doc forrtc_set_ntp_timedrivers/rtc/systohc.c:23: warning: bad line: (Signed-off-by Mathieu Malaterre <[email protected]>--- drivers/rtc/systohc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks.
Signature · 3 lines
Alexandre Belloni, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com