diff options
author | Armin Wolf <W_Armin@gmx.de> | 2023-01-26 20:40:18 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-02-03 10:01:50 +0100 |
commit | 36d44825faf42903a0b92dd49a9620e2cbdcbe18 (patch) | |
tree | 7d9e07566914fc37b0a02f4ce3de2c25aa075172 /sound/mips | |
parent | 3e899fec5dfce37701d49d656954a825275bf867 (diff) | |
download | lwn-36d44825faf42903a0b92dd49a9620e2cbdcbe18.tar.gz lwn-36d44825faf42903a0b92dd49a9620e2cbdcbe18.zip |
platform/x86: dell-ddv: Return error if buffer is empty
In several cases, the DDV WMI interface can return buffers
with a length of zero. Return -ENODATA in such a case for
proper error handling. Also replace some -EIO errors with
more specialized ones.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20230126194021.381092-3-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions