]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drivers: base: map: Use kmalloc_array instead of kmalloc
authorAndrei Poenaru <andreigpoenaru@gmail.com>
Sun, 8 Mar 2015 10:29:02 +0000 (12:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2015 13:35:08 +0000 (14:35 +0100)
commit2e4fabec5e79d9fb8b75e4afda192ed3d6486f86
tree43f2eb69aeb6fea46614e50783ae16c23837ad32
parent7036cd46c8239a520abf69720de9a8538a9011d5
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: Andrei Poenaru <andreigpoenaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/map.c