2018-02-01 16:50:02

by Mathieu Malaterre

[permalink] [raw]
Subject: [PATCH] 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(-)

diff --git a/drivers/rtc/systohc.c b/drivers/rtc/systohc.c
index 0c177647ea6c..718293d72426 100644
--- a/drivers/rtc/systohc.c
+++ b/drivers/rtc/systohc.c
@@ -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



2018-03-10 17:15:26

by Mathieu Malaterre

[permalink] [raw]
Subject: Re: [PATCH] driver/rtc: remove a warning during scripts/kernel-doc step

ping ?

On Thu, Feb 1, 2018 at 5:47 PM, Mathieu Malaterre <[email protected]> wrote:
> 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(-)
>
> diff --git a/drivers/rtc/systohc.c b/drivers/rtc/systohc.c
> index 0c177647ea6c..718293d72426 100644
> --- a/drivers/rtc/systohc.c
> +++ b/drivers/rtc/systohc.c
> @@ -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
>

2018-03-22 15:23:55

by Alexandre Belloni

[permalink] [raw]
Subject: Re: [PATCH] driver/rtc: remove a warning during scripts/kernel-doc step

On 01/02/2018 at 17:47:14 +0100, Mathieu Malaterre wrote:
> 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(-)
>
Applied, thanks.

--
Alexandre Belloni, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com