linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] scsi: vpd sanity checks
@ 2016-04-01  6:57 Hannes Reinecke
  2016-04-01  6:57 ` [PATCH 1/2] scsi: Do not attach VPD to devices that don't support it Hannes Reinecke
  2016-04-01  6:57 ` [PATCH 2/2] scsi: vpd pages are mandatory for SPC-2 Hannes Reinecke
  0 siblings, 2 replies; 7+ messages in thread
From: Hannes Reinecke @ 2016-04-01  6:57 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Christoph Hellwig, James Bottomley, linux-scsi, Hannes Reinecke

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(-)

-- 
2.6.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-04-11 21:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-01  6:57 [PATCH 0/2] scsi: vpd sanity checks Hannes Reinecke
2016-04-01  6:57 ` [PATCH 1/2] scsi: Do not attach VPD to devices that don't support it Hannes Reinecke
2016-04-01  7:44   ` Johannes Thumshirn
2016-04-04 23:12   ` Martin K. Petersen
2016-04-01  6:57 ` [PATCH 2/2] scsi: vpd pages are mandatory for SPC-2 Hannes Reinecke
2016-04-01  7:45   ` Johannes Thumshirn
2016-04-11 21:23   ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).