diff --git a/[refs] b/[refs] index b06255d7790a..42107579a4b6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 22d2b35b200f76085c16a2e14ca30b58510fcbe7 +refs/heads/master: d58ae67813ff97030d2f47ff7d1e5f54e5d7c5b3 diff --git a/trunk/kernel/module.c b/trunk/kernel/module.c index c24c3c35405a..a389b423c279 100644 --- a/trunk/kernel/module.c +++ b/trunk/kernel/module.c @@ -1881,7 +1881,8 @@ static struct module *load_module(void __user *umod, module_unload_init(mod); /* Initialize kobject, so we can reference it. */ - if (mod_sysfs_init(mod) != 0) + err = mod_sysfs_init(mod); + if (err) goto cleanup; /* Set up license info based on the info section */