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
/
scsi
/
aic94xx
/
aic94xx_init.c
diff --git
a/drivers/scsi/aic94xx/aic94xx_init.c
b/drivers/scsi/aic94xx/aic94xx_init.c
index
6c83886
..
80e5b28
100644
(file)
--- a/
drivers/scsi/aic94xx/aic94xx_init.c
+++ b/
drivers/scsi/aic94xx/aic94xx_init.c
@@
-350,7
+350,7
@@
static ssize_t asd_store_update_bios(struct device *dev,
int flash_command = FLASH_CMD_NONE;
int err = 0;
- cmd_ptr = k
zalloc(count*
2, GFP_KERNEL);
+ cmd_ptr = k
calloc(count,
2, GFP_KERNEL);
if (!cmd_ptr) {
err = FAIL_OUT_MEMORY;