aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2016-09-15 11:20:09 +0200
committerHerbert Xu <[email protected]>2016-09-22 18:27:39 +0800
commite7a33c4d0a97e80fe059f711621ad7a65b30a64d (patch)
treec29731c1b4b964dbb1298f6c379c956cc0fb7766 /net/switchdev/switchdev.c
parent664f570a9cee51a8c7caef042118abd2b48705b1 (diff)
crypto: caam - Use kmalloc_array() in ahash_setkey()
* A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software. * Replace the specification of a data type by a pointer dereference to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Markus Elfring <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions