瀏覽代碼

LIB: Replace inappropriate include of <linux/bug.h>

Replace an irrelevant include of bug.h with the more appropriate
includes of slab.h and module.h.

it's not as if the original inclusion is an error, it's simply not
related to the contents of that source file, while the other two are.

compile-tested on i386.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Robert P. J. Day 17 年之前
父節點
當前提交
5a56db1c0f
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      lib/argv_split.c

+ 2 - 1
lib/argv_split.c

@@ -4,7 +4,8 @@
 
 
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/ctype.h>
 #include <linux/ctype.h>
-#include <linux/bug.h>
+#include <linux/slab.h>
+#include <linux/module.h>
 
 
 static const char *skip_sep(const char *cp)
 static const char *skip_sep(const char *cp)
 {
 {