Skip to content

Fix panic when a SES device is attached to a hpsa logical volume.

Johannes Thumshirn linux-scsi lkml stable 3 versions – Applied

Status from this message: Applied to 4.8/scsi-fixes.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 5 repliesApplied
  2. v33 patches 0 repliesSuperseded
  3. v23 patches 1 replySuperseded

Changes in v4 from the cover letter

* Fix phy vs. rphy typo in patch 1/3 (again).
Verified with config from and cross build on Xtensa provided by 0day bot and below i386 randconfig and x86_64 SLES config.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3sas: provide stub implementation for scsi_is_sas_rphyinclude/scsi/scsi_transport_sas.h+6 -10 replies
2/3ses: use scsi_is_sas_rphy instead of is_sas_attacheddrivers/scsi/ses.c+1 -14 replies
3/3sas: remove is_sas_attached()drivers/scsi/scsi_transport_sas.c include/scsi/scsi_transport_sas.h+0 -220 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchJames E.J. Bottomley
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] Fix panic when a SES device is attached to a hpsa logical volume.

The first patch provides stub implementations for scsi_is_sas_phy() and sas_get_address() for the case that CONFIG_SCSI_SAS_ATTRS is not defined.

The second patch implements the actual fix in ses.c by changing the is_sas_attached() call to scsi_is_sas_rphy().

The third and last patch removes is_sas_attached() as it doesn't have any more consumers left.

Changes from v3:
* Fix phy vs. rphy typo in patch 1/3 (again).
Verified with config from and cross build on Xtensa provided by 0day bot and below i386 randconfig and x86_64 SLES config.

Changes from v2:
* Fix phy vs. rphy typo in patch 1/3.
Verified with config from http://www.spinics.net/lists/linux-scsi/msg99067.html

Johannes Thumshirn (3):
sas: provide stub implementation for scsi_is_sas_rphy
ses: use scsi_is_sas_rphy instead of is_sas_attached
sas: remove is_sas_attached()

 drivers/scsi/scsi_transport_sas.c | 16 ----------------
 drivers/scsi/ses.c                |  2 +-
 include/scsi/scsi_transport_sas.h |  5 ++---
 3 files changed, 3 insertions(+), 20 deletions(-)
Signature · 1 line
1.8.5.6