serial: core: fix kernel-doc for uart_port_unlock_irqrestore()
PATCH 1/1 serial: core: fix kernel-doc for uart_port_unlock_irqrestore()
Fix the function name to avoid a kernel-doc warning:
include/linux/serial_core.h:666: warning: expecting prototype for uart_port_lock_irqrestore(). Prototype was for uart_port_unlock_irqrestore() instead
Fixes b0af4bcb4946 ("serial: core: Provide port lock wrappers")
Signed-off-by Randy Dunlap <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc John Ogness <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Jiri Slaby <[email protected]>
--- include/linux/serial_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/serial_core.h +1 -1
@@ -658,7 +658,7 @@ static inline void uart_port_unlock_irq( }/** -* uart_port_lock_irqrestore - Unlock the UART port, restore interrupts +* uart_port_unlock_irqrestore - Unlock the UART port, restore interrupts * @up: Pointer to UART port structure * @flags: The saved interrupt flags for restore */
Quoted 11 lines · Randy Dunlap
Fix the function name to avoid a kernel-doc warning:
include/linux/serial_core.h:666: warning: expecting prototype foruart_port_lock_irqrestore(). Prototype was foruart_port_unlock_irqrestore()insteadFixes b0af4bcb4946 ("serial: core: Provide port lock wrappers")Signed-off-by Randy Dunlap <[email protected]>Cc Thomas Gleixner <[email protected]>Cc John Ogness <[email protected]>Cc Greg Kroah-Hartman <[email protected]>Cc Jiri Slaby <[email protected]>
Thanks for catching and fixing this.
Reviewed-by John Ogness <[email protected]>