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>] [day] [month] [year] [list]
Message-ID: <20210513050401.625106-1-yangyingliang@huawei.com>
Date:   Thu, 13 May 2021 13:04:01 +0800
From:   Yang Yingliang <yangyingliang@...wei.com>
To:     <linux-kernel@...r.kernel.org>,
        <linux-arm-kernel@...ts.infradead.org>
CC:     <linusw@...nel.org>
Subject: [PATCH -next] irqchip: ixp4xx: ixp4xx_of_init_irq() can be static

ixp4xx_of_init_irq() only used within this file. It should be static.

Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
---
 drivers/irqchip/irq-ixp4xx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-ixp4xx.c b/drivers/irqchip/irq-ixp4xx.c
index 37e0749215c7..09c4dfd1ad01 100644
--- a/drivers/irqchip/irq-ixp4xx.c
+++ b/drivers/irqchip/irq-ixp4xx.c
@@ -365,7 +365,7 @@ void __init ixp4xx_irq_init(resource_size_t irqbase,
 EXPORT_SYMBOL_GPL(ixp4xx_irq_init);
 
 #ifdef CONFIG_OF
-int __init ixp4xx_of_init_irq(struct device_node *np,
+static int __init ixp4xx_of_init_irq(struct device_node *np,
 			      struct device_node *parent)
 {
 	struct ixp4xx_irq *ixi = &ixirq;
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ