diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-05-02 16:11:53 (GMT) |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-05-02 16:11:53 (GMT) |
commit | 2eea65829dc6c20dccbe79726fd0f3fe7f8aa43b (patch) | |
tree | d18453036e12539f37828541244b74811b167f6a /drivers/acpi/ec.c | |
parent | 658922e57b847bb7112aa67f6441b6bbc6554412 (diff) | |
download | linux-2eea65829dc6c20dccbe79726fd0f3fe7f8aa43b.tar.xz |
nfit: fix translation of command status results
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@hpe.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/acpi/ec.c')
0 files changed, 0 insertions, 0 deletions