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]
Message-ID: <20150320213251.GD23301@gondor.apana.org.au>
Date:	Sat, 21 Mar 2015 08:32:51 +1100
From:	Herbert Xu <herbert@...dor.apana.org.au>
To:	kbuild test robot <fengguang.wu@...el.com>
Cc:	kbuild-all@...org, netdev@...r.kernel.org
Subject: Re: [net-next:master 925/931] include/linux/rhashtable.h:522:13:
 error: 'EEXIST' undeclared

On Sat, Mar 21, 2015 at 04:49:22AM +0800, kbuild test robot wrote:
>
> All error/warnings:
> 
>    In file included from net/tipc/socket.c:37:0:
>    include/linux/rhashtable.h: In function '__rhashtable_insert_fast':
> >> include/linux/rhashtable.h:522:13: error: 'EEXIST' undeclared (first use in this function)
>      int err = -EEXIST;

Thanks for the report, this should fix it:

---8<---
rhashtable: Fix undeclared EEXIST build error on ia64

We need to include linux/errno.h in rhashtable.h since it doesn't
always get included otherwise.

Reported-by: kbuild test robot <fengguang.wu@...el.com>
Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>

diff --git a/include/linux/rhashtable.h b/include/linux/rhashtable.h
index e5b76cf..18a6488 100644
--- a/include/linux/rhashtable.h
+++ b/include/linux/rhashtable.h
@@ -18,6 +18,7 @@
 #define _LINUX_RHASHTABLE_H
 
 #include <linux/compiler.h>
+#include <linux/errno.h>
 #include <linux/list_nulls.h>
 #include <linux/workqueue.h>
 #include <linux/mutex.h>

-- 
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ