summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2023-01-26 22:40:18 +0300
committerHans de Goede <hdegoede@redhat.com>2023-02-03 12:01:50 +0300
commit36d44825faf42903a0b92dd49a9620e2cbdcbe18 (patch)
tree7d9e07566914fc37b0a02f4ce3de2c25aa075172 /tools/perf/scripts/python/export-to-postgresql.py
parent3e899fec5dfce37701d49d656954a825275bf867 (diff)
downloadlinux-36d44825faf42903a0b92dd49a9620e2cbdcbe18.tar.xz
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions