Skip to content
Browse files

kernel: ksysfs.c is implicitly using stat.h

With the module.h usage cleanup, we'll get this:

kernel/ksysfs.c:161: error: ‘S_IRUGO’ undeclared here (not in a function)
make[2]: *** [kernel/ksysfs.o] Error 1

Signed-off-by: Paul Gortmaker <>
  • Loading branch information...
1 parent 967d1f9 commit 1596425fd7545abccb7b5059376e4d56c3d6be4d @paulgortmaker paulgortmaker committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 kernel/ksysfs.c
1 kernel/ksysfs.c
@@ -15,6 +15,7 @@
#include <linux/init.h>
#include <linux/kexec.h>
#include <linux/profile.h>
+#include <linux/stat.h>
#include <linux/sched.h>
#include <linux/capability.h>

0 comments on commit 1596425

Please sign in to comment.
Something went wrong with that request. Please try again.