Commit 1b9894f3 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

serial core: fix new kernel-doc warnings

Fix new kernel-doc warnings in serial_core.[hc] files.

  Warning(include/linux/serial_core.h:485): No description found for parameter 'uport'
  Warning(include/linux/serial_core.h:485): Excess function parameter 'port' description in 'uart_handle_dcd_change'
  Warning(include/linux/serial_core.h:511): No description found for parameter 'uport'
  Warning(include/linux/serial_core.h:511): Excess function parameter 'port' description in 'uart_handle_cts_change'
  Warning(drivers/serial/serial_core.c:2437): No description found for parameter 'uport'
  Warning(drivers/serial/serial_core.c:2437): Excess function parameter 'port' description in 'uart_add_one_port'
  Warning(drivers/serial/serial_core.c:2509): No description found for parameter 'uport'
  Warning(drivers/serial/serial_core.c:2509): Excess function parameter 'port' description in 'uart_remove_one_port'
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 70430786
...@@ -2426,7 +2426,7 @@ struct tty_driver *uart_console_device(struct console *co, int *index) ...@@ -2426,7 +2426,7 @@ struct tty_driver *uart_console_device(struct console *co, int *index)
/** /**
* uart_add_one_port - attach a driver-defined port structure * uart_add_one_port - attach a driver-defined port structure
* @drv: pointer to the uart low level driver structure for this port * @drv: pointer to the uart low level driver structure for this port
* @port: uart port structure to use for this port. * @uport: uart port structure to use for this port.
* *
* This allows the driver to register its own uart_port structure * This allows the driver to register its own uart_port structure
* with the core driver. The main purpose is to allow the low * with the core driver. The main purpose is to allow the low
...@@ -2499,7 +2499,7 @@ int uart_add_one_port(struct uart_driver *drv, struct uart_port *uport) ...@@ -2499,7 +2499,7 @@ int uart_add_one_port(struct uart_driver *drv, struct uart_port *uport)
/** /**
* uart_remove_one_port - detach a driver defined port structure * uart_remove_one_port - detach a driver defined port structure
* @drv: pointer to the uart low level driver structure for this port * @drv: pointer to the uart low level driver structure for this port
* @port: uart port structure for this port * @uport: uart port structure for this port
* *
* This unhooks (and hangs up) the specified port structure from the * This unhooks (and hangs up) the specified port structure from the
* core driver. No further calls will be made to the low-level code * core driver. No further calls will be made to the low-level code
......
...@@ -477,7 +477,7 @@ static inline int uart_handle_break(struct uart_port *port) ...@@ -477,7 +477,7 @@ static inline int uart_handle_break(struct uart_port *port)
/** /**
* uart_handle_dcd_change - handle a change of carrier detect state * uart_handle_dcd_change - handle a change of carrier detect state
* @port: uart_port structure for the open port * @uport: uart_port structure for the open port
* @status: new carrier detect status, nonzero if active * @status: new carrier detect status, nonzero if active
*/ */
static inline void static inline void
...@@ -503,7 +503,7 @@ uart_handle_dcd_change(struct uart_port *uport, unsigned int status) ...@@ -503,7 +503,7 @@ uart_handle_dcd_change(struct uart_port *uport, unsigned int status)
/** /**
* uart_handle_cts_change - handle a change of clear-to-send state * uart_handle_cts_change - handle a change of clear-to-send state
* @port: uart_port structure for the open port * @uport: uart_port structure for the open port
* @status: new clear to send status, nonzero if active * @status: new clear to send status, nonzero if active
*/ */
static inline void static inline void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment