Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323057
b: refs/heads/master
c: a9e8d1a
h: refs/heads/master
i:
  323055: 64d7063
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Sep 21, 2012
1 parent 7ba4f06 commit d07bec5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dfa520af2c20aa3c75f0497d49165561212a1c6f
refs/heads/master: a9e8d1a6b87167116e5779378f1d25ffed2e833b
4 changes: 1 addition & 3 deletions trunk/arch/sparc/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ void *module_alloc(unsigned long size)
return NULL;

ret = module_map(size);
if (!ret)
ret = ERR_PTR(-ENOMEM);
else
if (ret)
memset(ret, 0, size);

return ret;
Expand Down

0 comments on commit d07bec5

Please sign in to comment.