Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 0e99996

Browse files
rddunlapgregkh
authored andcommitted
serial: core: fix kernel-doc for uart_port_unlock_irqrestore()
commit 29bff58 upstream. 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: b0af4bc ("serial: core: Provide port lock wrappers") Signed-off-by: Randy Dunlap <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: John Ogness <[email protected]> Cc: [email protected] Cc: Greg Kroah-Hartman <[email protected]> Cc: Jiri Slaby <[email protected]> Reviewed-by: John Ogness <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent de66d97 commit 0e99996

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/serial_core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ static inline void uart_port_unlock_irq(struct uart_port *up)
658658
}
659659

660660
/**
661-
* uart_port_lock_irqrestore - Unlock the UART port, restore interrupts
661+
* uart_port_unlock_irqrestore - Unlock the UART port, restore interrupts
662662
* @up: Pointer to UART port structure
663663
* @flags: The saved interrupt flags for restore
664664
*/

0 commit comments

Comments
 (0)