Skip to content

Commit

Permalink
Merge tag 'driver-core-3.6-rc6' of git://git.kernel.org/pub/scm/linux…
Browse files Browse the repository at this point in the history
…/kernel/git/gregkh/driver-core

Pull driver core fix from Greg Kroah-Hartman:
 "Here is one fix for 3.6-rc6 for the kobject.h file.

  It fixes a reported oops if CONFIG_HOTPLUG is disabled.  It's been in
  the linux-next tree for a while now.

  Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"

* tag 'driver-core-3.6-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
  kobject: fix oops with "input0: bad kobj_uevent_env content in show_uevent()"
  • Loading branch information
Linus Torvalds committed Sep 14, 2012
2 parents 55815f7 + 60e233a commit 0462bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/kobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ static inline int kobject_uevent_env(struct kobject *kobj,

static inline __printf(2, 3)
int add_uevent_var(struct kobj_uevent_env *env, const char *format, ...)
{ return 0; }
{ return -ENOMEM; }

static inline int kobject_action_type(const char *buf, size_t count,
enum kobject_action *type)
Expand Down

0 comments on commit 0462bfc

Please sign in to comment.