From: Greg Kroah-Hartman Date: Mon, 29 Jan 2024 16:53:35 +0000 (-0800) Subject: 6.1-stable patches X-Git-Tag: v6.1.76~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=717dfea7560756440f806b496a5211221f1b0bc2;p=thirdparty%2Fkernel%2Fstable-queue.git 6.1-stable patches added patches: serial-core-fix-kernel-doc-for-uart_port_unlock_irqrestore.patch --- diff --git a/queue-6.1/serial-core-fix-kernel-doc-for-uart_port_unlock_irqrestore.patch b/queue-6.1/serial-core-fix-kernel-doc-for-uart_port_unlock_irqrestore.patch new file mode 100644 index 00000000000..92091658766 --- /dev/null +++ b/queue-6.1/serial-core-fix-kernel-doc-for-uart_port_unlock_irqrestore.patch @@ -0,0 +1,38 @@ +From 29bff582b74ed0bdb7e6986482ad9e6799ea4d2f Mon Sep 17 00:00:00 2001 +From: Randy Dunlap +Date: Tue, 26 Sep 2023 21:41:28 -0700 +Subject: serial: core: fix kernel-doc for uart_port_unlock_irqrestore() + +From: Randy Dunlap + +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 +Cc: Thomas Gleixner +Cc: John Ogness +Cc: linux-serial@vger.kernel.org +Cc: Greg Kroah-Hartman +Cc: Jiri Slaby +Reviewed-by: John Ogness +Link: https://lore.kernel.org/r/20230927044128.4748-1-rdunlap@infradead.org +Signed-off-by: Greg Kroah-Hartman +--- + 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 +@@ -653,7 +653,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 + */ diff --git a/queue-6.1/series b/queue-6.1/series index 39c30a6f784..7b1d0726c59 100644 --- a/queue-6.1/series +++ b/queue-6.1/series @@ -182,3 +182,4 @@ cxl-region-fix-overflow-issue-in-alloc_hpa.patch mips-call-lose_fpu-0-before-initializing-fcr31-in-mips_set_personality_nan.patch tick-sched-preserve-number-of-idle-sleeps-across-cpu-hotplug-events.patch x86-entry-ia32-ensure-s32-is-sign-extended-to-s64.patch +serial-core-fix-kernel-doc-for-uart_port_unlock_irqrestore.patch