2012-06-09 01:51:36

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] serial: fix kernel-doc warnings in 8250.c

From: Randy Dunlap <[email protected]>

Fix kernel-doc warnings in drivers/tty/serial/8250/8250.c:

Warning(drivers/tty/serial/8250/8250.c:3128): No description found for parameter 'up'
Warning(drivers/tty/serial/8250/8250.c:3128): Excess function parameter 'port' description in 'serial8250_register_8250_port'

Signed-off-by: Randy Dunlap <[email protected]>
---
drivers/tty/serial/8250/8250.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- lnx-35-rc1.orig/drivers/tty/serial/8250/8250.c
+++ lnx-35-rc1/drivers/tty/serial/8250/8250.c
@@ -3113,7 +3113,7 @@ static struct uart_8250_port *serial8250

/**
* serial8250_register_8250_port - register a serial port
- * @port: serial port template
+ * @up: serial port template
*
* Configure the serial port specified by the request. If the
* port exists and is in use, it is hung up and unregistered


2012-06-09 10:43:13

by Alan

[permalink] [raw]
Subject: Re: [PATCH] serial: fix kernel-doc warnings in 8250.c

On Fri, 08 Jun 2012 18:51:23 -0700
Randy Dunlap <[email protected]> wrote:

> From: Randy Dunlap <[email protected]>
>
> Fix kernel-doc warnings in drivers/tty/serial/8250/8250.c:
>
> Warning(drivers/tty/serial/8250/8250.c:3128): No description found
> for parameter 'up' Warning(drivers/tty/serial/8250/8250.c:3128):
> Excess function parameter 'port' description in
> 'serial8250_register_8250_port'
>
> Signed-off-by: Randy Dunlap <[email protected]>

Acked-by: Alan Cox <[email protected]>