liquidio: lowmem: init allocated memory to 0
authorRick Farrington <ricardo.farrington@cavium.com>
Tue, 18 Jul 2017 00:51:37 +0000 (17:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jul 2017 20:24:46 +0000 (13:24 -0700)
commit2c4aac74a9f28e0431f5335401d5fc8f744fa1e1
tree5b93999c4fe78c526c1571e7db1230e4e0c4679b
parent689062a18c00f49f9c32ac8d5366c075ab691c30
liquidio: lowmem: init allocated memory to 0

For defensive programming, zero the allocated block 'oct->droq[0]' in
octeon_setup_output_queues() and 'oct->instr_queue[0]' in
octeon_setup_instr_queues().

Signed-off-by: Rick Farrington <ricardo.farrington@cavium.com>
Signed-off-by: Satanand Burla <satananda.burla@cavium.com>
Signed-off-by: Raghu Vatsavayi <raghu.vatsavayi@cavium.com>
Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/octeon_device.c