]> err.no Git - linux-2.6/commit
[PATCH] module: fix mod_sysfs_setup() return value
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 30 Dec 2006 00:48:20 +0000 (16:48 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 30 Dec 2006 18:56:41 +0000 (10:56 -0800)
commita3f99f8ba8cbd2d4e231b767b3d6236a555da38c
tree9e70e751e1ec612e16ebeb7eb85a76450f59b5fe
parent96ceeaf4ab66315a5149296bb58d8e1a9e6f2f6d
[PATCH] module: fix mod_sysfs_setup() return value

mod_sysfs_setup() doesn't return error when kobject_add_dir() failed.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/module.c