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: kmalloc() -> kmalloc_array()
[linux-2.6-block.git]
/
fs
/
cifs
/
asn1.c
diff --git
a/fs/cifs/asn1.c
b/fs/cifs/asn1.c
index a3b56544c21b96599fa97f0df02a5fd2c6317678..3d19595eb35216a8c32501d34200fa8061cff512 100644
(file)
--- a/
fs/cifs/asn1.c
+++ b/
fs/cifs/asn1.c
@@
-428,7
+428,7
@@
asn1_oid_decode(struct asn1_ctx *ctx,
if (size < 2 || size > UINT_MAX/sizeof(unsigned long))
return 0;
- *oid = kmalloc
(size *
sizeof(unsigned long), GFP_ATOMIC);
+ *oid = kmalloc
_array(size,
sizeof(unsigned long), GFP_ATOMIC);
if (*oid == NULL)
return 0;