Skip to contentSkip to conversation

include/linux/res_counter.h: fixup commit 9259826ccb8165f797e4c2c9d17925b41af5f6ae

PATCH In review Chen Gang 2 participants 3 messages Mar 10, 2013 – Mar 11, 2013

lore
Share & tools
lore

Chen Gang

author
#0 lore raw

PATCH 1/1 include/linux/res_counter.h: fixup commit 9259826ccb8165f797e4c2c9d17925b41af5f6ae

still need include linux/errno.h for EBUSY.

additional info:
make command:
make EXTRA_CFLAGS=-W V=1 ARCH=arm allmodconfig
make EXTRA_CFLAGS=-W V=1 ARCH=arm
error report:
In file included from mm/memcontrol.c:28:0:
include/linux/res_counter.h: in function ‘res_counter_set_limit’:
include/linux/res_counter.h:204:13: error :‘EBUSY’ is not declared.

---
 include/linux/res_counter.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/res_counter.h +1 -0
index a83a849..f9822dc 100644
@@ -13,6 +13,7 @@
  * info about what this counter is.
  */
 
+#include <linux/errno.h>
 #include <linux/spinlock.h>
 
 /*
Signature · 1 line
1.7.7.6
#1 lore raw
Quoted 12 lines · Chen Gang

still need include linux/errno.h for EBUSY.

additional info:
make command:
make EXTRA_CFLAGS=-W V=1 ARCH=arm allmodconfig
make EXTRA_CFLAGS=-W V=1 ARCH=arm
error report:
In file included from mm/memcontrol.c:28:0:
include/linux/res_counter.h: in function ‘res_counter_set_limit’:
include/linux/res_counter.h:204:13: error :‘EBUSY’ is not declared.

Thanks, but Geert Uytterhoeven already sent the same patch.

author
#2 lore raw
Quoted 13 lines · Li Zefan
Quoted 12 lines · Chen Gang
Quoted 12 lines

still need include linux/errno.h for EBUSY.

additional info:
make command:
make EXTRA_CFLAGS=-W V=1 ARCH=arm allmodconfig
make EXTRA_CFLAGS=-W V=1 ARCH=arm
error report:
In file included from mm/memcontrol.c:28:0:
include/linux/res_counter.h: in function ‘res_counter_set_limit’:
include/linux/res_counter.h:204:13: error :‘EBUSY’ is not declared.

Quoted 1 line

Thanks, but Geert Uytterhoeven already sent the same patch.

ok.

Signature · 3 lines
Chen Gang

Asianux Corporation