diff options
author | Rick Farrington <ricardo.farrington@cavium.com> | 2017-07-17 17:50:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-19 13:24:46 -0700 |
commit | 00587f2fa70866a2c3425ee799c91657b4717b7c (patch) | |
tree | f96252ccc07d3974adbfae3803611c7c25ab0a96 /drivers/hid | |
parent | 741912c55365f1a48611e20d3291433b686f6846 (diff) | |
download | linux-00587f2fa70866a2c3425ee799c91657b4717b7c.tar.bz2 |
liquidio: lowmem: init allocated memory to 0
Fix GPF in octeon_init_droq(); zero the allocated block 'recv_buf_list'.
This prevents a GPF trying to access an invalid 'recv_buf_list[i]' entry
in octeon_droq_destroy_ring_buffers() if init didn't alloc all entries.
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>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions