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]
Date:   Thu, 10 Aug 2023 20:10:46 +0200
From:   Helge Deller <deller@....de>
To:     linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Cc:     Helge Deller <deller@....de>
Subject: [PATCH] proc: Mark arch_report_meminfo() extern

Fix this sparse warning:
arch/parisc/kernel/pdt.c:67:6: warning: symbol 'arch_report_meminfo' was not declared. Should it be static?

Signed-off-by: Helge Deller <deller@....de>
---
 include/linux/proc_fs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h
index 253f2676d93a..e981ef830252 100644
--- a/include/linux/proc_fs.h
+++ b/include/linux/proc_fs.h
@@ -158,7 +158,7 @@ int proc_pid_arch_status(struct seq_file *m, struct pid_namespace *ns,
 			struct pid *pid, struct task_struct *task);
 #endif /* CONFIG_PROC_PID_ARCH_STATUS */

-void arch_report_meminfo(struct seq_file *m);
+extern void arch_report_meminfo(struct seq_file *m);

 #else /* CONFIG_PROC_FS */

--
2.41.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ