commit | 424f727b94132a4193af401dd823c44612d1d59f | [log] [tgz] |
---|---|---|
author | Brian King <brking@linux.vnet.ibm.com> | Tue Aug 01 13:45:36 2017 -0500 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Aug 08 11:49:52 2017 -0400 |
tree | a424f444cb1ff2352e27d1f0f83ee8276b511d4f | |
parent | b0e17a9b0df29590c45dfb296f541270a5941f41 [diff] |
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>