]> git.baikalelectronics.ru Git - kernel.git/commit
nfit: fail DSMs that return non-zero status by default
authorDan Williams <dan.j.williams@intel.com>
Wed, 21 Sep 2016 16:21:26 +0000 (09:21 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 21 Sep 2016 16:35:19 +0000 (09:35 -0700)
commitfaeb090c224f7aa6185d74bdda336c6ec4e4452c
treeaf6ca958a7d5213c512c7640e0b453cecf3a97e9
parent892f51669d476700af5db66f197d16698ec5b0d4
nfit: fail DSMs that return non-zero status by default

For the DSMs where the kernel knows the format of the output buffer and
originates those DSMs from within the kernel, return -EIO for any
non-zero status.  If the BIOS is indicating a status that we do not know
how to handle, fail the DSM.

Cc: <stable@vger.kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c