commit | b6b4316c8b2fa6af5cee71e7defd09527b9d1cf9 | [log] [tgz] |
---|---|---|
author | Shahed Shaikh <shahed.shaikh@qlogic.com> | Sat Jun 22 04:12:00 2013 -0400 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 23 18:29:58 2013 -0700 |
tree | 1db739928558df4ee7903399fad937880620f329 | |
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>