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: <20220628114226.884388-1-sunliming@kylinos.cn>
Date:   Tue, 28 Jun 2022 19:42:26 +0800
From:   sunliming <sunliming@...inos.cn>
To:     arnd@...db.de, daniel@...que.org, haojian.zhuang@...il.com,
        robert.jarzmik@...e.fr, linux@...linux.org.uk,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        kelulanainsley@...il.com, sunliming@...inos.cn
Cc:     kernel test robot <lkp@...el.com>
Subject: [PATCH] ARM: pxa: make corgipm_read_devdata static

This symbol is not used outside of corgi_pm.c, so marks it static.

Fixes the following w1 warning:

arch/arm/mach-pxa/corgi_pm.c:137:15: warning: no previous prototype for function 'corgipm_read_devdata' [-Wmissing-prototypes]

Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: sunliming <sunliming@...inos.cn>
---
 arch/arm/mach-pxa/corgi_pm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-pxa/corgi_pm.c b/arch/arm/mach-pxa/corgi_pm.c
index 555a5c1afd96..02a229425969 100644
--- a/arch/arm/mach-pxa/corgi_pm.c
+++ b/arch/arm/mach-pxa/corgi_pm.c
@@ -133,7 +133,7 @@ static bool corgi_charger_wakeup(void)
 		!gpio_get_value(CORGI_GPIO_WAKEUP);
 }
 
-unsigned long corgipm_read_devdata(int type)
+static unsigned long corgipm_read_devdata(int type)
 {
 	switch(type) {
 	case SHARPSL_STATUS_ACIN:
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ