From: Arun Easi Date: Mon, 25 Mar 2013 06:21:37 +0000 (-0400) Subject: [SCSI] qla2xxx: Fix crash during firmware dump procedure. X-Git-Tag: v3.9-rc7~14^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00876ae85b47cdfe76aa08b1fffb27fd67425f53;p=pandora-kernel.git [SCSI] qla2xxx: Fix crash during firmware dump procedure. System crashes, in initiator mode operation, with qla2xxx_copy_atioqueues() in stack trace when firmware dump is attempted. Check for atio_q_length alone does not indicate if atio_ring is allocated, make explicit check of atio_ring to avoid the crash. Applicable to ISP24xx, ISP25xx, ISP81xx & ISP83xx line of HBAs. Signed-off-by: Arun Easi Signed-off-by: Saurav Kashyap Signed-off-by: James Bottomley --- Reading git-diff-tree failed