lkml.org 
[lkml]   [2022]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] serial: Convert serial_rs485 to kernel doc
From
On 26. 09. 22, 14:37, Ilpo Järvinen wrote:
> Convert struct serial_rs485 comments to kernel doc format.

It'd be nice if you referenced the struct from Documentation/, so that
it is: 1) checked, and 2) rendered somewhere.

> Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
>
> ---
> include/uapi/linux/serial.h | 61 +++++++++++++++++++++++++++++----------------
> 1 file changed, 40 insertions(+), 21 deletions(-)
>
> diff --git a/include/uapi/linux/serial.h b/include/uapi/linux/serial.h
> index cea06924b295..67d4bc663521 100644
> --- a/include/uapi/linux/serial.h
> +++ b/include/uapi/linux/serial.h
> @@ -107,37 +107,56 @@ struct serial_icounter_struct {
> int reserved[9];
> };
>
> -/*
> +/**
> + * struct serial_rs485 - serial interface for controlling RS485 settings.
...
thanks,
--
js
suse labs

\
 
 \ /
  Last update: 2022-09-27 07:17    [W:0.033 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site