git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SPARC64]: kzalloc() conversion
[pandora-kernel.git]
/
arch
/
sparc64
/
kernel
/
ebus.c
diff --git
a/arch/sparc64/kernel/ebus.c
b/arch/sparc64/kernel/ebus.c
index
7991e91
..
c69504a
100644
(file)
--- a/
arch/sparc64/kernel/ebus.c
+++ b/
arch/sparc64/kernel/ebus.c
@@
-277,10
+277,9
@@
static inline void *ebus_alloc(size_t size)
{
void *mem;
- mem = k
m
alloc(size, GFP_ATOMIC);
+ mem = k
z
alloc(size, GFP_ATOMIC);
if (!mem)
panic("ebus_alloc: out of memory");
- memset((char *)mem, 0, size);
return mem;
}