From: Wei Yongjun Date: Sun, 2 Dec 2012 13:33:24 +0000 (-0500) Subject: [SCSI] lpfc: fix potential NULL pointer dereference in lpfc_sli4_rq_put() X-Git-Tag: v3.9-rc7~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a25bf36b7394f11f2ff90c9e203639cd3dc041a;p=pandora-kernel.git [SCSI] lpfc: fix potential NULL pointer dereference in lpfc_sli4_rq_put() The dereference to 'put_index' should be moved below the NULL test. Signed-off-by: Wei Yongjun Acked-by: James Smart Signed-off-by: James Bottomley --- Reading git-diff-tree failed