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]
/
net
/
rxrpc
/
rxkad.c
diff --git
a/net/rxrpc/rxkad.c
b/net/rxrpc/rxkad.c
index 6c0ae27fff84e2312bdc6a7f84abc7ed288e05de..278ac0807a60a8664bbb825ccd06737a595d8631 100644
(file)
--- a/
net/rxrpc/rxkad.c
+++ b/
net/rxrpc/rxkad.c
@@
-432,7
+432,7
@@
static int rxkad_verify_packet_2(struct rxrpc_call *call, struct sk_buff *skb,
sg = _sg;
if (unlikely(nsg > 4)) {
- sg = kmalloc
(sizeof(*sg) * nsg
, GFP_NOIO);
+ sg = kmalloc
_array(nsg, sizeof(*sg)
, GFP_NOIO);
if (!sg)
goto nomem;
}