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] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240311132306.3420135-8-max.kellermann@ionos.com>
Date: Mon, 11 Mar 2024 14:23:03 +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 08/11] arch/alpha/checksum: add missing includes to fix -Wmissing-prototypes

Fixes:

 arch/alpha/lib/checksum.c:45:9: error: no previous prototype for 'csum_tcpudp_magic' [-Werror=missing-prototypes]
    45 | __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr,
       |         ^~~~~~~~~~~~~~~~~

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

diff --git a/arch/alpha/lib/checksum.c b/arch/alpha/lib/checksum.c
index 3f35c3ed6948..66cad8354a44 100644
--- a/arch/alpha/lib/checksum.c
+++ b/arch/alpha/lib/checksum.c
@@ -10,6 +10,8 @@
  *	Rick Gorton	<rick.gorton@...ha-processor.com>
  */
  
+#include <asm/checksum.h>
+
 #include <linux/module.h>
 #include <linux/string.h>
 
-- 
2.39.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ