projects
/
linux-2.6-block.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-block.git]
/
drivers
/
char
/
agp
/
sworks-agp.c
diff --git
a/drivers/char/agp/sworks-agp.c
b/drivers/char/agp/sworks-agp.c
index 4dbdd3bc9bb8855e6e557abaac0aefe5feb0eb5c..7729414100ffa5d33509f78c298dd7779186e01f 100644
(file)
--- a/
drivers/char/agp/sworks-agp.c
+++ b/
drivers/char/agp/sworks-agp.c
@@
-96,7
+96,7
@@
static int serverworks_create_gatt_pages(int nr_tables)
int retval = 0;
int i;
- tables = k
zalloc((nr_tables + 1) *
sizeof(struct serverworks_page_map *),
+ tables = k
calloc(nr_tables + 1,
sizeof(struct serverworks_page_map *),
GFP_KERNEL);
if (tables == NULL)
return -ENOMEM;