net: pxa168_eth: Use kcalloc() in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 17 Apr 2017 12:32:14 +0000 (14:32 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Apr 2017 17:55:10 +0000 (13:55 -0400)
commit91acebedbd7a6c76fdc0911366f0ada523fee645
treedfd484833c31424952dba998c183c1491929ad60
parentdbbb2f034b5a5c1da368e4ac7e85a4ee4922f57b
net: pxa168_eth: Use kcalloc() in two functions

Multiplications for the size determination of memory allocations
indicated that array data structures should be processed.
Thus use the corresponding function "kcalloc".

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/pxa168_eth.c