aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kobject_uevent.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-01-25 00:59:04 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-25 00:59:04 -0500
commite374a2bfebf359f846216336de91670be40499da (patch)
tree809347b4814c63feb06409a7fe9ddfa9d631896b /lib/kobject_uevent.c
parent79a6ee42fd81be9abc6bdab08f932875924b26a5 (diff)
Kobject: fix coding style issues in kobject c files
Clean up the kobject.c and kobject_uevent.c files to follow the proper coding style rules. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/kobject_uevent.c')
-rw-r--r--lib/kobject_uevent.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index b021e67c4294..5a402e2982af 100644
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -238,11 +238,12 @@ int kobject_uevent_env(struct kobject *kobj, enum kobject_action action,
238 retval = add_uevent_var(env, "HOME=/"); 238 retval = add_uevent_var(env, "HOME=/");
239 if (retval) 239 if (retval)
240 goto exit; 240 goto exit;
241 retval = add_uevent_var(env, "PATH=/sbin:/bin:/usr/sbin:/usr/bin"); 241 retval = add_uevent_var(env,
242 "PATH=/sbin:/bin:/usr/sbin:/usr/bin");
242 if (retval) 243 if (retval)
243 goto exit; 244 goto exit;
244 245
245 call_usermodehelper (argv[0], argv, env->envp, UMH_WAIT_EXEC); 246 call_usermodehelper(argv[0], argv, env->envp, UMH_WAIT_EXEC);
246 } 247 }
247 248
248exit: 249exit:
@@ -250,7 +251,6 @@ exit:
250 kfree(env); 251 kfree(env);
251 return retval; 252 return retval;
252} 253}
253
254EXPORT_SYMBOL_GPL(kobject_uevent_env); 254EXPORT_SYMBOL_GPL(kobject_uevent_env);
255 255
256/** 256/**
@@ -266,7 +266,6 @@ int kobject_uevent(struct kobject *kobj, enum kobject_action action)
266{ 266{
267 return kobject_uevent_env(kobj, action, NULL); 267 return kobject_uevent_env(kobj, action, NULL);
268} 268}
269
270EXPORT_SYMBOL_GPL(kobject_uevent); 269EXPORT_SYMBOL_GPL(kobject_uevent);
271 270
272/** 271/**