From f1a094a83059b4677038befde6c4da6cfed31dbd Mon Sep 17 00:00:00 2001 From: Rajesh Borundia Date: Tue, 2 Apr 2013 05:34:41 +0000 Subject: [PATCH] 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-format-patch failed