aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/argv_split.c3
-rw-r--r--lib/kernel_lock.c2
-rw-r--r--lib/kobject_uevent.c2
3 files changed, 4 insertions, 3 deletions
diff --git a/lib/argv_split.c b/lib/argv_split.c
index fad6ce4f7b..5205a8dae5 100644
--- a/lib/argv_split.c
+++ b/lib/argv_split.c
@@ -4,7 +4,8 @@
4 4
5#include <linux/kernel.h> 5#include <linux/kernel.h>
6#include <linux/ctype.h> 6#include <linux/ctype.h>
7#include <linux/bug.h> 7#include <linux/slab.h>
8#include <linux/module.h>
8 9
9static const char *skip_sep(const char *cp) 10static const char *skip_sep(const char *cp)
10{ 11{
diff --git a/lib/kernel_lock.c b/lib/kernel_lock.c
index e0fdfddb40..f73e2f8c30 100644
--- a/lib/kernel_lock.c
+++ b/lib/kernel_lock.c
@@ -2,7 +2,7 @@
2 * lib/kernel_lock.c 2 * lib/kernel_lock.c
3 * 3 *
4 * This is the traditional BKL - big kernel lock. Largely 4 * This is the traditional BKL - big kernel lock. Largely
5 * relegated to obsolescense, but used by various less 5 * relegated to obsolescence, but used by various less
6 * important (or lazy) subsystems. 6 * important (or lazy) subsystems.
7 */ 7 */
8#include <linux/smp_lock.h> 8#include <linux/smp_lock.h>
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index 2e4eae5b08..5886147252 100644
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -126,7 +126,7 @@ int kobject_uevent_env(struct kobject *kobj, enum kobject_action action,
126 else 126 else
127 subsystem = kobject_name(&kset->kobj); 127 subsystem = kobject_name(&kset->kobj);
128 if (!subsystem) { 128 if (!subsystem) {
129 pr_debug("unset subsytem caused the event to drop!\n"); 129 pr_debug("unset subsystem caused the event to drop!\n");
130 return 0; 130 return 0;
131 } 131 }
132 132