projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: kmalloc() -> kmalloc_array()
[linux-block.git]
/
drivers
/
isdn
/
hisax
/
hfc_2bds0.c
diff --git
a/drivers/isdn/hisax/hfc_2bds0.c
b/drivers/isdn/hisax/hfc_2bds0.c
index 86b82172e9927fbae666ea3f6b04453d45eb7b35..3715fa0343db2aca28368e64c5bd83a19a79dab0 100644
(file)
--- a/
drivers/isdn/hisax/hfc_2bds0.c
+++ b/
drivers/isdn/hisax/hfc_2bds0.c
@@
-1024,7
+1024,7
@@
static unsigned int
int i;
unsigned *send;
- if (!(send = kmalloc
(cnt *
sizeof(unsigned int), GFP_ATOMIC))) {
+ if (!(send = kmalloc
_array(cnt,
sizeof(unsigned int), GFP_ATOMIC))) {
printk(KERN_WARNING
"HiSax: No memory for hfcd.send\n");
return (NULL);