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: <1362819077-14211-1-git-send-email-geert@linux-m68k.org>
Date:	Sat,  9 Mar 2013 09:51:17 +0100
From:	Geert Uytterhoeven <geert@...ux-m68k.org>
To:	Li Zefan <lizefan@...wei.com>
Cc:	Tejun Heo <tj@...nel.org>, linux-next@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Geert Uytterhoeven <geert@...ux-m68k.org>
Subject: [PATCH -next] res_counter: Add missing #include <linux/errno.h>

Commit 9259826ccb8165f797e4c2c9d17925b41af5f6ae ("res_counter: remove
include of cgroup.h from res_counter.h") removed the indirect inclusion of
<linux/errno.h>, breaking the build on m68k and sparc:

In file included from mm/memcontrol.c:29:
include/linux/res_counter.h: In function ‘res_counter_set_limit’:
include/linux/res_counter.h:203: error: ‘EBUSY’ undeclared (first use in this function)
include/linux/res_counter.h:203: error: (Each undeclared identifier is reported only once
include/linux/res_counter.h:203: error: for each function it appears in.)

Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
---
http://kisskb.ellerman.id.au/kisskb/buildresult/8342952/
http://kisskb.ellerman.id.au/kisskb/buildresult/8342757/
http://kisskb.ellerman.id.au/kisskb/buildresult/8342767/

 include/linux/res_counter.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/res_counter.h b/include/linux/res_counter.h
index a83a849..f9822dc 100644
--- a/include/linux/res_counter.h
+++ b/include/linux/res_counter.h
@@ -13,6 +13,7 @@
  * info about what this counter is.
  */
 
+#include <linux/errno.h>
 #include <linux/spinlock.h>
 
 /*
-- 
1.7.0.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