linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Christoph Hellwig <hch@lst.de>,
	James Bottomley <james.bottomley@hansenpartnership.com>,
	linux-scsi@vger.kernel.org, Hannes Reinecke <hare@suse.de>
Subject: [PATCH 0/2] scsi: vpd sanity checks
Date: Fri,  1 Apr 2016 08:57:35 +0200	[thread overview]
Message-ID: <1459493857-4724-1-git-send-email-hare@suse.de> (raw)

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


             reply	other threads:[~2016-04-01  6:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01  6:57 Hannes Reinecke [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459493857-4724-1-git-send-email-hare@suse.de \
    --to=hare@suse.de \
    --cc=hch@lst.de \
    --cc=james.bottomley@hansenpartnership.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).