diff options
author | Insu Yun | 2015-12-29 23:20:11 +0100 |
---|---|---|
committer | David S. Miller | 2016-01-04 23:18:42 +0100 |
commit | 3934aa4c1f7f4ccdff25f530b0e37d776ac453e2 (patch) | |
tree | 6089a510198e507a9b378683a9715e6c94e05fa9 /drivers/connector | |
parent | qlcnic: correctly handle qlcnic_alloc_mbx_args (diff) | |
download | kernel-qcow2-linux-3934aa4c1f7f4ccdff25f530b0e37d776ac453e2.tar.gz kernel-qcow2-linux-3934aa4c1f7f4ccdff25f530b0e37d776ac453e2.tar.xz kernel-qcow2-linux-3934aa4c1f7f4ccdff25f530b0e37d776ac453e2.zip |
cxgb4: correctly handling failed allocation
Since t4_alloc_mem can be failed in memory pressure,
if not properly handled, NULL dereference could be happened.
Signed-off-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions