From: Kashyap, Desai Date: Wed, 17 Feb 2010 10:38:36 +0000 (+0530) Subject: [SCSI] mpt2sas: Do not call sas_is_tlr_enabled for RAID volumes. X-Git-Tag: v2.6.34-rc1~284^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ed215259f2d8cd937abc833dc76e309173aaa52;p=pandora-kernel.git [SCSI] mpt2sas: Do not call sas_is_tlr_enabled for RAID volumes. For RAID volume sas_is_tlr_enabled call will hit BUG at scsi_transport_sas.c:163, since raid volume is not visible to sas transport layer. Now Added check to make sure arg pass in sas_is_tlr_enabled() is not a volume. Signed-off-by: Kashyap Desai Signed-off-by: James Bottomley --- Reading git-diff-tree failed