From: Rajesh Borundia Date: Tue, 2 Apr 2013 05:34:41 +0000 (+0000) Subject: qlcnic: Fix NULL dereference in error path. X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~249 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1a094a83059b4677038befde6c4da6cfed31dbd;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed