Patch "scsi: ses: Fix SAS device detection in enclosure" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
scsi: ses: Fix SAS device detection in enclosure
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
scsi-ses-fix-sas-device-detection-in-enclosure.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
9373eba6cfae48911b977d14323032cd5d161aaeMon Sep 17 00:00:00 2001
From: "Ewan D. Milne" <[email protected]>
Date: Mon, 9 Jan 2017 16:33:36 -0500
Subject: scsi: ses: Fix SAS device detection in enclosure
From: Ewan D. Milne <[email protected]>
commit 9373eba6cfae48911b977d14323032cd5d161aae upstream.
The call to scsi_is_sas_rphy() needs to be made on the SAS end_device, not on the SCSI device.
--- drivers/scsi/ses.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/ses.c +1 -1
@@ -587,7 +587,7 @@ static void ses_match_to_enclosure(strucses_enclosure_data_process (edev,to_scsi_device (edev->edev.parent),0 ); -if (scsi_is_sas_rphy (&sdev->sdev_gendev)) +if (scsi_is_sas_rphy (sdev->sdev_target->dev.parent)) efd.addr =sas_get_address (sdev);if (efd.addr) {
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/scsi-ses-fix-sas-device-detection-in-enclosure.patch