Commit bd445a18 authored by Randy Dunlap's avatar Randy Dunlap Committed by GONG, Ruiqi
Browse files

serial: core: fix kernel-doc for uart_port_unlock_irqrestore()

mainline inclusion
from mainline-v6.7-rc1
commit 29bff582b74ed0bdb7e6986482ad9e6799ea4d2f
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9L5H7
CVE: CVE-2024-27000

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=29bff582b74ed0bdb7e6986482ad9e6799ea4d2f



---------------------------

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: default avatarRandy 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: default avatarJohn Ogness <john.ogness@linutronix.de>
Link: https://lore.kernel.org/r/20230927044128.4748-1-rdunlap@infradead.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarGONG, Ruiqi <gongruiqi1@huawei.com>
parent ce52c2fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment