diff options
author | Dave Airlie <airlied@redhat.com> | 2013-08-19 13:49:20 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-08-19 13:49:20 +1000 |
commit | 3387ed83943daf6cb1bb4195ae369067b9cd80ce (patch) | |
tree | e9fc247ed3a26f5369a7ec1b1bd0ef66bda7b4dd /drivers/scsi/scsi.c | |
parent | drm/i915: unpin backing storage in dmabuf_unmap (diff) | |
parent | drm/i915: Don't deref pipe->cpu_transcoder in the hangcheck code (diff) | |
download | linux-dev-3387ed83943daf6cb1bb4195ae369067b9cd80ce.tar.xz linux-dev-3387ed83943daf6cb1bb4195ae369067b9cd80ce.zip |
Merge tag 'drm-intel-fixes-2013-08-15' of git://people.freedesktop.org/~danvet/drm-intel
* tag 'drm-intel-fixes-2013-08-15' of git://people.freedesktop.org/~danvet/drm-intel: (153 commits)
drm/i915: Don't deref pipe->cpu_transcoder in the hangcheck code
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r-- | drivers/scsi/scsi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 3b1ea34e1f5a..eaa808e6ba91 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c @@ -1031,6 +1031,9 @@ int scsi_get_vpd_page(struct scsi_device *sdev, u8 page, unsigned char *buf, { int i, result; + if (sdev->skip_vpd_pages) + goto fail; + /* Ask for all the pages supported by this device */ result = scsi_vpd_inquiry(sdev, buf, 0, buf_len); if (result) |