The patch titled module: fix mod_sysfs_setup() return value has been removed from the -mm tree. Its filename was module-fix-mod_sysfs_setup-return-value.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: module: fix mod_sysfs_setup() return value From: Akinobu Mita <akinobu.mita@xxxxxxxxx> mod_sysfs_setup() doesn't return error when kobject_add_dir() failed. Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/module.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN kernel/module.c~module-fix-mod_sysfs_setup-return-value kernel/module.c --- a/kernel/module.c~module-fix-mod_sysfs_setup-return-value +++ a/kernel/module.c @@ -1132,8 +1132,10 @@ static int mod_sysfs_setup(struct module goto out; mod->drivers_dir = kobject_add_dir(&mod->mkobj.kobj, "drivers"); - if (!mod->drivers_dir) + if (!mod->drivers_dir) { + err = -ENOMEM; goto out_unreg; + } err = module_param_sysfs_setup(mod, kparam, num_params); if (err) _ Patches currently in -mm which might be from akinobu.mita@xxxxxxxxx are powerpc-use-is_init.patch git-dvb.patch ehca-fix-do_mmap-error-check.patch ehca-avoid-crash-on-kthread_create-failure.patch ehca-fix-memleak-on-module-unloading.patch git-input.patch git-mtd.patch net-use-bitrev8.patch auth_gss-unregister-gss_domain-when-unloading-module.patch iscsi-fix-crypto_alloc_hash-error-check.patch git-watchdog.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html