]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ccree: Use sizeof(variable) in memory allocs
authorSimon Sandström <simon@nikanor.nu>
Sun, 30 Jul 2017 20:29:02 +0000 (22:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Aug 2017 22:10:42 +0000 (15:10 -0700)
commit3b9122163759d4b2de7b95eb71f7649d3e2f2700
tree01a23f1a511e05b2fd53eab028b76acdf7050ac8
parent98278b383fa2f02b76550eb343f8389f57b06082
staging: ccree: Use sizeof(variable) in memory allocs

Fixes 9 checkpatch.pl warnings of type
"Prefer kmalloc(sizeof(variable)...) over kmalloc(sizeof(type)...)"
in staging/ccree.

Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_aead.c
drivers/staging/ccree/ssi_cipher.c
drivers/staging/ccree/ssi_driver.c
drivers/staging/ccree/ssi_hash.c
drivers/staging/ccree/ssi_ivgen.c
drivers/staging/ccree/ssi_request_mgr.c