Re: [PATCH] nfit: fix translation of command status results

From: Johannes Thumshirn
Date: Tue May 03 2016 - 03:15:14 EST


On Mon, May 02, 2016 at 09:25:41AM -0700, Dan Williams wrote:
> When transportation of the command completes successfully, it indicates
> that the 'status' result is valid. Fix the missed checking and
> translation of the status field at the end of acpi_nfit_ctl().
> Otherwise, we fail to handle reported errors and assume commands
> complete successfully.
>
> Reported-by: Linda Knippers <linda.knippers@xxxxxxx>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>

Reviewed-by: Johannes Thumshirn <jthumshirn@xxxxxxx>

--
Johannes Thumshirn Storage
jthumshirn@xxxxxxx +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850