Skip to content

scsi: vpd sanity checks

Hannes Reinecke linux-scsi 1 version Applied

Status from this message: Applied to 4.6/scsi-fixes, CC:stable 4.5+.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2scsi: Do not attach VPD to devices that don't support itdrivers/scsi/scsi.c drivers/scsi/sd.c include/scsi/scsi_device.h+28 -192 replies
2/2scsi: vpd pages are mandatory for SPC-2include/scsi/scsi_device.h+2 -22 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJohannes Thumshirn
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] scsi: vpd sanity checks

Hi all,

here's a combined patchset to clear up the sanity checks for VPD page support. The first patch streamlines the function to check for VPD page support, and the second one lowers the minimal SCSI version for VPD page support to SPC-2, to avoid having to whitelist a lot of devices.

As usual, comments and reviews are welcome.

Hannes Reinecke (2):
scsi: Do not attach VPD to devices that don't support it
scsi: vpd pages are mandatory for SPC-2

 drivers/scsi/scsi.c        |  3 ++-
 drivers/scsi/sd.c          | 19 +------------------
 include/scsi/scsi_device.h | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+), 19 deletions(-)
Signature · 1 line
2.6.2