Skip to contentSkip to conversation

driver/rtc: remove a warning during scripts/kernel-doc step

PATCH Applied Mathieu Malaterre 2 participants 3 messages Feb 1, 2018 – Mar 22, 2018 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

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: (

---
 drivers/rtc/systohc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/systohc.c +1 -1
index 0c177647ea6c..718293d72426 100644
@@ -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
#1 lore raw

ping ?

Quoted 26 lines · Mathieu Malaterre

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: (

---
 drivers/rtc/systohc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/systohc.c +1 -2
index 0c177647ea6c..718293d72426 100644
@@ -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

#2 lore raw
In reply to Mathieu Malaterre
Quoted 10 lines · Mathieu Malaterre

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: (

---
 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