]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.19-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Apr 2024 09:24:40 +0000 (11:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Apr 2024 09:24:40 +0000 (11:24 +0200)
added patches:
serial-core-fix-kernel-doc-for-uart_port_unlock_irqrestore.patch

queue-4.19/serial-core-fix-kernel-doc-for-uart_port_unlock_irqrestore.patch [new file with mode: 0644]
queue-4.19/series

diff --git a/queue-4.19/serial-core-fix-kernel-doc-for-uart_port_unlock_irqrestore.patch b/queue-4.19/serial-core-fix-kernel-doc-for-uart_port_unlock_irqrestore.patch
new file mode 100644 (file)
index 0000000..d9e3a7f
--- /dev/null
@@ -0,0 +1,38 @@
+From 29bff582b74ed0bdb7e6986482ad9e6799ea4d2f Mon Sep 17 00:00:00 2001
+From: Randy Dunlap <rdunlap@infradead.org>
+Date: Tue, 26 Sep 2023 21:41:28 -0700
+Subject: serial: core: fix kernel-doc for uart_port_unlock_irqrestore()
+
+From: Randy Dunlap <rdunlap@infradead.org>
+
+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>
+---
+ include/linux/serial_core.h |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/include/linux/serial_core.h
++++ b/include/linux/serial_core.h
+@@ -334,7 +334,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
+  */
index 11ef5bd313fd77fa76678a519c27965bd89c378e..90fca500dfdf267aeeadc744a58bc857fcb357bc 100644 (file)
@@ -74,3 +74,4 @@ hid-i2c-hid-remove-i2c_hid_read_pending-flag-to-prevent-lock-up.patch
 revert-loop-remove-sector_t-truncation-checks.patch
 revert-y2038-rusage-use-__kernel_old_timeval.patch
 udp-preserve-the-connected-status-if-only-udp-cmsg.patch
+serial-core-fix-kernel-doc-for-uart_port_unlock_irqrestore.patch