diff options
author | Shahed Shaikh <shahed.shaikh@qlogic.com> | 2013-06-22 04:12:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-23 18:29:58 -0700 |
commit | b6b4316c8b2fa6af5cee71e7defd09527b9d1cf9 (patch) | |
tree | 1db739928558df4ee7903399fad937880620f329 /drivers/net/ethernet/qlogic/qlcnic/qlcnic.h | |
parent | fedaf4ffc224a194e2d13a3ec2abe5df0bc94258 (diff) |
qlcnic: Handle qlcnic_alloc_mbx_args() failure
qlcnic_alloc_mbx_args() may fail due to failure in memory allocation.
This patch checks for failure of qlcnic_alloc_mbx_args() to avoid
potential invalid memory access.
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic/qlcnic.h')
0 files changed, 0 insertions, 0 deletions