hv_netvsc: use kcalloc
authorStephen Hemminger <sthemmin@microsoft.com>
Tue, 23 Aug 2016 19:17:46 +0000 (12:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 19:05:36 +0000 (12:05 -0700)
commite53a9c2a5a8cd0a3a8b3c0f9b7a3ad9bc6a28867
treebe816ce9810d06f0fa688959d07950d1bc0428a8
parent9477386687354f2aa8f4843170b7093c6dd1eb37
hv_netvsc: use kcalloc

Better to use kcalloc rather than kzalloc and multiply for an array.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc.c