[PATCH 1/2] nfit: fail DSMs that return non-zero status by default

2016-09-13 Thread Dan Williams
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. Signed-off-by: Dan Williams

[PATCH 1/2] nfit: fail DSMs that return non-zero status by default

2016-09-13 Thread Dan Williams
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. Signed-off-by: Dan Williams ---