Skip to content
Commit 2e4fabec authored by Andrei Poenaru's avatar Andrei Poenaru Committed by Greg Kroah-Hartman
Browse files

drivers: base: map: Use kmalloc_array instead of kmalloc



Reported by checkpatch.pl

While at it, removed blank line between function call and error
checking.

Signed-off-by: default avatarAndrei Poenaru <andreigpoenaru@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7036cd46
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment