aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/8390/Makefile
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2015-10-31 02:05:56 +0300
committerDavid S. Miller <davem@davemloft.net>2015-11-02 15:56:11 -0500
commit2c94e8567d7c7c9d619584da857e9f5b28f283ea (patch)
tree3edd2e76972a77d9d72b83653814e60dcb494461 /drivers/net/ethernet/8390/Makefile
parent615a1003c6502f0d1812fd2dbe08e86b1c3f5db9 (diff)
sh_eth: fix uninitialized arrays in sh_eth_ring_init()
sh_eth_ring_free() called in the sh_eth_ring_init()'s error path expects the arrays pointed to by 'sh_eth_private::[rt]x_skbuff' to be initialized with NULLs but they are allocated with just kmalloc_array() and so are left filled with random data. Use kcalloc() instead. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/8390/Makefile')
0 files changed, 0 insertions, 0 deletions