lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <166720858963.7716.9924110502009264129.tip-bot2@tip-bot2>
Date:   Mon, 31 Oct 2022 09:29:49 -0000
From:   "tip-bot2 for Chen Lifu" <tip-bot2@...utronix.de>
To:     linux-tip-commits@...r.kernel.org
Cc:     Chen Lifu <chenlifu@...wei.com>, Borislav Petkov <bp@...e.de>,
        x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: x86/cleanups] x86/i8259: Make default_legacy_pic static

The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID:     c9053e1c5a6fca221946f95d1fe6e47f69fb303a
Gitweb:        https://git.kernel.org/tip/c9053e1c5a6fca221946f95d1fe6e47f69fb303a
Author:        Chen Lifu <chenlifu@...wei.com>
AuthorDate:    Tue, 23 Aug 2022 10:19:58 +08:00
Committer:     Borislav Petkov <bp@...e.de>
CommitterDate: Mon, 31 Oct 2022 10:20:32 +01:00

x86/i8259: Make default_legacy_pic static

The symbol is not used outside of the file, so mark it static.

Signed-off-by: Chen Lifu <chenlifu@...wei.com>
Signed-off-by: Borislav Petkov <bp@...e.de>
Link: https://lore.kernel.org/r/20220823021958.3052493-1-chenlifu@huawei.com
---
 arch/x86/kernel/i8259.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/i8259.c b/arch/x86/kernel/i8259.c
index 15aefa3..3aa5304 100644
--- a/arch/x86/kernel/i8259.c
+++ b/arch/x86/kernel/i8259.c
@@ -407,7 +407,7 @@ struct legacy_pic null_legacy_pic = {
 	.make_irq = legacy_pic_uint_noop,
 };
 
-struct legacy_pic default_legacy_pic = {
+static struct legacy_pic default_legacy_pic = {
 	.nr_legacy_irqs = NR_IRQS_LEGACY,
 	.chip  = &i8259A_chip,
 	.mask = mask_8259A_irq,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ