linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] tty: serial: uartlite: Fix kernel doc warning
@ 2023-11-20  9:09 Shubhrajyoti Datta
  2023-11-20 11:35 ` Jiri Slaby
  2023-11-20 16:23 ` Sean Anderson
  0 siblings, 2 replies; 3+ messages in thread
From: Shubhrajyoti Datta @ 2023-11-20  9:09 UTC (permalink / raw)
  To: linux-serial; +Cc: jacmet, gregkh, jirislaby, sean.anderson

Fix the below warning
drivers/tty/serial/uartlite.c:79: warning: Function parameter or member 'reg_ops' not described in 'uartlite_data'
drivers/tty/serial/uartlite.c:79: warning: Function parameter or member 'clk' not described in 'uartlite_data'
drivers/tty/serial/uartlite.c:79: warning: Function parameter or member 'baud' not described in 'uartlite_data'
drivers/tty/serial/uartlite.c:79: warning: Function parameter or member 'cflags' not described in 'uartlite_data'

Reported-by: kernel test robot <yujie.liu@intel.com>
Closes: https://lore.kernel.org/r/202311061059.NUeUar9b-lkp@intel.com/
Fixes: ea017f5853e9 ("tty: serial: uartlite: Prevent changing fixed parameters")
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>

---

Changes in v2:
Update doc for uartlite_data

 drivers/tty/serial/uartlite.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c
index 404c14acafa5..e586d7aeac98 100644
--- a/drivers/tty/serial/uartlite.c
+++ b/drivers/tty/serial/uartlite.c
@@ -62,11 +62,11 @@ static struct uart_port *console_port;
 #endif
 
 /**
- * struct uartlite_data: Driver private data
- * reg_ops: Functions to read/write registers
- * clk: Our parent clock, if present
- * baud: The baud rate configured when this device was synthesized
- * cflags: The cflags for parity and data bits
+ * struct uartlite_data - Driver private data
+ * @reg_ops: Functions to read/write registers
+ * @clk: Our parent clock, if present
+ * @baud: The baud rate configured when this device was synthesized
+ * @cflags: The cflags for parity and data bits
  */
 struct uartlite_data {
 	const struct uartlite_reg_ops *reg_ops;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] tty: serial: uartlite: Fix kernel doc warning
  2023-11-20  9:09 [PATCH v2] tty: serial: uartlite: Fix kernel doc warning Shubhrajyoti Datta
@ 2023-11-20 11:35 ` Jiri Slaby
  2023-11-20 16:23 ` Sean Anderson
  1 sibling, 0 replies; 3+ messages in thread
From: Jiri Slaby @ 2023-11-20 11:35 UTC (permalink / raw)
  To: Shubhrajyoti Datta, linux-serial; +Cc: jacmet, gregkh, sean.anderson

On 20. 11. 23, 10:09, Shubhrajyoti Datta wrote:
> Fix the below warning
> drivers/tty/serial/uartlite.c:79: warning: Function parameter or member 'reg_ops' not described in 'uartlite_data'
> drivers/tty/serial/uartlite.c:79: warning: Function parameter or member 'clk' not described in 'uartlite_data'
> drivers/tty/serial/uartlite.c:79: warning: Function parameter or member 'baud' not described in 'uartlite_data'
> drivers/tty/serial/uartlite.c:79: warning: Function parameter or member 'cflags' not described in 'uartlite_data'
> 
> Reported-by: kernel test robot <yujie.liu@intel.com>
> Closes: https://lore.kernel.org/r/202311061059.NUeUar9b-lkp@intel.com/
> Fixes: ea017f5853e9 ("tty: serial: uartlite: Prevent changing fixed parameters")
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
> 
> ---
> 
> Changes in v2:
> Update doc for uartlite_data

Despite I don't understand this comment, I see you fixed what I asked 
for, so:

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>

thanks,
-- 
js
suse labs


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] tty: serial: uartlite: Fix kernel doc warning
  2023-11-20  9:09 [PATCH v2] tty: serial: uartlite: Fix kernel doc warning Shubhrajyoti Datta
  2023-11-20 11:35 ` Jiri Slaby
@ 2023-11-20 16:23 ` Sean Anderson
  1 sibling, 0 replies; 3+ messages in thread
From: Sean Anderson @ 2023-11-20 16:23 UTC (permalink / raw)
  To: Shubhrajyoti Datta, linux-serial; +Cc: jacmet, gregkh, jirislaby

On 11/20/23 04:09, Shubhrajyoti Datta wrote:
> Fix the below warning
> drivers/tty/serial/uartlite.c:79: warning: Function parameter or member 'reg_ops' not described in 'uartlite_data'
> drivers/tty/serial/uartlite.c:79: warning: Function parameter or member 'clk' not described in 'uartlite_data'
> drivers/tty/serial/uartlite.c:79: warning: Function parameter or member 'baud' not described in 'uartlite_data'
> drivers/tty/serial/uartlite.c:79: warning: Function parameter or member 'cflags' not described in 'uartlite_data'
> 
> Reported-by: kernel test robot <yujie.liu@intel.com>
> Closes: https://cas5-0-urlprotect.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2flore.kernel.org%2fr%2f202311061059.NUeUar9b%2dlkp%40intel.com%2f&umid=ca5e675b-75fa-4a6d-95a0-b7630f896afe&auth=d807158c60b7d2502abde8a2fc01f40662980862-7a9c276d4643e915ccea59b2b954eb8784b19bd4
> Fixes: ea017f5853e9 ("tty: serial: uartlite: Prevent changing fixed parameters")
> Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
> 
> ---
> 
> Changes in v2:
> Update doc for uartlite_data
> 
>  drivers/tty/serial/uartlite.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c
> index 404c14acafa5..e586d7aeac98 100644
> --- a/drivers/tty/serial/uartlite.c
> +++ b/drivers/tty/serial/uartlite.c
> @@ -62,11 +62,11 @@ static struct uart_port *console_port;
>  #endif
>  
>  /**
> - * struct uartlite_data: Driver private data
> - * reg_ops: Functions to read/write registers
> - * clk: Our parent clock, if present
> - * baud: The baud rate configured when this device was synthesized
> - * cflags: The cflags for parity and data bits
> + * struct uartlite_data - Driver private data
> + * @reg_ops: Functions to read/write registers
> + * @clk: Our parent clock, if present
> + * @baud: The baud rate configured when this device was synthesized
> + * @cflags: The cflags for parity and data bits
>   */
>  struct uartlite_data {
>  	const struct uartlite_reg_ops *reg_ops;

FYI: this is a duplicate of https://lore.kernel.org/all/20231106152428.3641883-1-sean.anderson@seco.com/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-20 16:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-20  9:09 [PATCH v2] tty: serial: uartlite: Fix kernel doc warning Shubhrajyoti Datta
2023-11-20 11:35 ` Jiri Slaby
2023-11-20 16:23 ` Sean Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).