diff options
author | Rajesh Borundia <rajesh.borundia@qlogic.com> | 2013-04-02 09:34:41 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-02 22:27:11 +0400 |
commit | f1a094a83059b4677038befde6c4da6cfed31dbd (patch) | |
tree | 7a0b3c9d14bfc01b1d44a43c061f925b6646d92f /mm | |
parent | d8fe3436df256ce48d953dc342ac114e6e368476 (diff) | |
download | linux-f1a094a83059b4677038befde6c4da6cfed31dbd.tar.xz |
qlcnic: Fix NULL dereference in error path.
o Fix for smatch tool reported error
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c:2029
qlcnic_probe() error: potential NULL dereference 'adapter'.
o While returning from an error path in probe, adapter is not
initialized. So do not access adapter in cleanup path.
Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions