projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Drop page table lock before calling migrate_page_add()
[linux-2.6-microblaze.git]
/
kernel
/
module.c
diff --git
a/kernel/module.c
b/kernel/module.c
index
2ea929d
..
4b06bba
100644
(file)
--- a/
kernel/module.c
+++ b/
kernel/module.c
@@
-1854,8
+1854,7
@@
static struct module *load_module(void __user *umod,
kfree(args);
free_hdr:
vfree(hdr);
- if (err < 0) return ERR_PTR(err);
- else return ptr;
+ return ERR_PTR(err);
truncated:
printk(KERN_ERR "Module len %lu truncated\n", len);