]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtlwifi: use kcalloc instead of multiply
authorTobin C. Harding <me@tobin.cc>
Tue, 5 Sep 2017 06:53:43 +0000 (16:53 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Sep 2017 14:35:26 +0000 (16:35 +0200)
commita34324823895162a6a99f682e0ad09661682eb93
tree46bb6925f4d83cfcc28721d78242a6ed55a80605
parent0be90530ed273ae3700c3db806a866de03d762b6
staging: rtlwifi: use kcalloc instead of multiply

checkpatch emits multiple warnings of type

WARNING:ALLOC_WITH_MULTIPLY: Prefer kcalloc over kzalloc with multiply

Replace two calls to kzalloc() with calls to kcalloc().

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/efuse.c