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

Message ID 20180201164714.25709-1-malat@debian.org
State Accepted
Headers show
Series
  • driver/rtc: remove a warning during scripts/kernel-doc step
Related show

Commit Message

Mathieu Malaterre Feb. 1, 2018, 4:47 p.m.
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 <malat@debian.org>
---
 drivers/rtc/systohc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mathieu Malaterre March 10, 2018, 5:13 p.m. | #1
ping ?

On Thu, Feb 1, 2018 at 5:47 PM, Mathieu Malaterre <malat@debian.org> 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 <malat@debian.org>
> ---
>  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
>
Alexandre Belloni March 22, 2018, 3:22 p.m. | #2
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 <malat@debian.org>
> ---
>  drivers/rtc/systohc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
Applied, thanks.

Patch

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)