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-next>] [day] [month] [year] [list]
Date:	Thu, 22 Dec 2011 11:50:56 +0100
From:	Dan Horák <dan@...ny.cz>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH] prefetch() not declared in net/ipv4/route.c on s390x

The recent commit (9f28a2fc0bd77511f649c0a788c7bf9a5fd04edb) to route.c
breaks build on s390x because it leaves prefetch() undeclared.

net/ipv4/route.c: In function 'rt_check_expire':
net/ipv4/route.c:874:4: error: implicit declaration of function 'prefetch' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [net/ipv4/route.o] Error 1

Signed-off-by: Dan Horák <dan@...ny.cz>
---
 net/ipv4/route.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 252c512..85cc053 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -91,6 +91,7 @@
 #include <linux/rcupdate.h>
 #include <linux/times.h>
 #include <linux/slab.h>
+#include <linux/prefetch.h>
 #include <net/dst.h>
 #include <net/net_namespace.h>
 #include <net/protocol.h>
-- 
1.7.4.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ