summaryrefslogtreecommitdiffstats
path: root/drivers/tty/pty.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2017-08-01 20:45:36 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-08 17:49:52 +0200
commit424f727b94132a4193af401dd823c44612d1d59f (patch)
treea424f444cb1ff2352e27d1f0f83ee8276b511d4f /drivers/tty/pty.c
parentscsi: ipr: Fix scsi-mq lockdep issue (diff)
downloadlinux-424f727b94132a4193af401dd823c44612d1d59f.tar.xz
linux-424f727b94132a4193af401dd823c44612d1d59f.zip
scsi: ses: Fix wrong page error
If a SES device returns an error on a requested diagnostic page, we are currently printing an error indicating the wrong page was received. Fix this up to simply return a failure and only check the returned page when the diagnostic page buffer was populated by the device. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/tty/pty.c')
0 files changed, 0 insertions, 0 deletions