From: Kashyap, Desai Date: Thu, 17 Jun 2010 07:55:13 +0000 (+0530) Subject: [SCSI] mpt2sas: Fix to use sas device list instead of enclosure list for _transpor_ge... X-Git-Tag: v2.6.36-rc1~570^2~185 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab6ce92541ea24c6a92be8498d7d1b26c14ec62d;p=pandora-kernel.git [SCSI] mpt2sas: Fix to use sas device list instead of enclosure list for _transpor_get_enclosure_identifier. Enclosure_identifier not being returned by mpt2sas The driver exports callback function to the sas transport layer for obtaining the enclosure logical id. This function is called _transport_get_enclosure_identifier. The driver was searching the wrong list for the enclosure_identifier. The driver should be searching the sas device list instead of enclosure list. The sas address that is passed to the driver is for the end device, not enclosure. Signed-off-by: Kashyap Desai Signed-off-by: James Bottomley --- Reading git-diff-tree failed