Re: [PATCH] ses: Fix wrong page error

2017-08-10 Thread Christoph Hellwig
On Tue, Aug 01, 2017 at 01:45:36PM -0500, Brian King wrote: > 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

[PATCH] ses: Fix wrong page error

2017-08-01 Thread Brian King
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