serial: fix kernel-doc warnings in 8250.c
PATCH 1/1 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(-)
drivers/tty/serial/8250/8250.c +1 -1
@@ -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
Quoted 10 lines · 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]>