summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2023-09-26 21:41:28 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-02 16:17:14 +0200
commit6e5937b23a13ce6bbe8bf17319efa34598f1650a (patch)
tree8ed1fbce96947b97805665293a5847c0cee84f88
parent4fc0b7838c253cf443de3a40a9acb224377740e6 (diff)
downloadlinux-stable-6e5937b23a13ce6bbe8bf17319efa34598f1650a.tar.gz
linux-stable-6e5937b23a13ce6bbe8bf17319efa34598f1650a.tar.bz2
linux-stable-6e5937b23a13ce6bbe8bf17319efa34598f1650a.zip
serial: core: fix kernel-doc for uart_port_unlock_irqrestore()
commit 29bff582b74ed0bdb7e6986482ad9e6799ea4d2f 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: b0af4bcb4946 ("serial: core: Provide port lock wrappers") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: John Ogness <john.ogness@linutronix.de> Cc: linux-serial@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jirislaby@kernel.org> Reviewed-by: John Ogness <john.ogness@linutronix.de> Link: https://lore.kernel.org/r/20230927044128.4748-1-rdunlap@infradead.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--include/linux/serial_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h
index 22735ba8c19c..6b8aafae7245 100644
--- a/include/linux/serial_core.h
+++ b/include/linux/serial_core.h
@@ -334,7 +334,7 @@ static inline void uart_port_unlock_irq(struct uart_port *up)
}
/**
- * 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
*/