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
treewide: kzalloc() -> kcalloc()
[linux-2.6-microblaze.git]
/
drivers
/
sh
/
maple
/
maple.c
diff --git
a/drivers/sh/maple/maple.c
b/drivers/sh/maple/maple.c
index
7525039
..
2e45988
100644
(file)
--- a/
drivers/sh/maple/maple.c
+++ b/
drivers/sh/maple/maple.c
@@
-161,7
+161,7
@@
int maple_add_packet(struct maple_device *mdev, u32 function, u32 command,
void *sendbuf = NULL;
if (length) {
- sendbuf = k
zalloc(length *
4, GFP_KERNEL);
+ sendbuf = k
calloc(length,
4, GFP_KERNEL);
if (!sendbuf) {
ret = -ENOMEM;
goto out;