batman-adv: prefer kmalloc_array to kmalloc when possible
authorAntonio Quartulli <antonio@meshcoding.com>
Sat, 24 May 2014 04:43:47 +0000 (06:43 +0200)
committerAntonio Quartulli <antonio@meshcoding.com>
Mon, 4 Aug 2014 14:02:10 +0000 (16:02 +0200)
commit0185dda640a704ce41ca1489c6775451c5ff3dcf
treefd50f60be3bc3c506618f13c14d4a1794414ff19
parente6b92c25d20c64c271ef429bba8febeefb848b5b
batman-adv: prefer kmalloc_array to kmalloc when possible

Reported by checkpatch with the following warning:
WARNING: Prefer kmalloc_array over kmalloc with multiply

Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/bat_iv_ogm.c
net/batman-adv/distributed-arp-table.c
net/batman-adv/hash.c