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: <20240311132306.3420135-11-max.kellermann@ionos.com>
Date: Mon, 11 Mar 2024 14:23:06 +0100
From: Max Kellermann <max.kellermann@...os.com>
To: richard.henderson@...aro.org,
	ink@...assic.park.msu.ru,
	mattst88@...il.com,
	linux-alpha@...r.kernel.org,
	linux-kernel@...r.kernel.org
Cc: Max Kellermann <max.kellermann@...os.com>
Subject: [PATCH 11/11] arch/alpha/smc37c669: add missing includes to fix -Wmissing-prototypes

Fixes:

 arch/alpha/kernel/smc37c669.c:2467:13: error: no previous prototype for 'SMC669_Init' [-Werror=missing-prototypes]
  2467 | void __init SMC669_Init ( int index )
       |             ^~~~~~~~~~~

Signed-off-by: Max Kellermann <max.kellermann@...os.com>
---
 arch/alpha/kernel/smc37c669.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/alpha/kernel/smc37c669.c b/arch/alpha/kernel/smc37c669.c
index ab22ade3dea3..be71ea825690 100644
--- a/arch/alpha/kernel/smc37c669.c
+++ b/arch/alpha/kernel/smc37c669.c
@@ -1,6 +1,9 @@
 /*
  * SMC 37C669 initialization code
  */
+
+#include "proto.h" // for the SMC669_Init() prototype
+
 #include <linux/kernel.h>
 
 #include <linux/mm.h>
-- 
2.39.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ