From: Karen Higgins Date: Wed, 15 Jul 2009 20:03:01 +0000 (-0500) Subject: [SCSI] qla4xxx: Fix srb lookup in qla4xxx_eh_device_reset X-Git-Tag: v2.6.31-rc6~69^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=612f73488785829d4f34aad00bfe30b904c94c9e;p=pandora-kernel.git [SCSI] qla4xxx: Fix srb lookup in qla4xxx_eh_device_reset eh_device_reset may be called from scsi error handler or sg_reset, etc. When called from sg_reset, there will not be an associated srb. The driver should lookup the corresponding device handle given information from the supplied cmd structure and should not assume that there exists an srb. Signed-off-by: Karen Higgins Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed