net: dsa: replace count*size kzalloc by kcalloc
authorFabian Frederick <fabf@skynet.be>
Fri, 14 Nov 2014 18:38:23 +0000 (19:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Nov 2014 19:41:39 +0000 (14:41 -0500)
commit6f2aed6ad7242ead0db1278b4b48fabb81bbc6a7
tree0e58df673485f4171eb84758cbf1c2de8a5f7fce
parent5bc4b46a70eab74d642c726d99433166d3f65e45
net: dsa: replace count*size kzalloc by kcalloc

kcalloc manages count*sizeof overflow.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c