diff options
author | 2016-04-30 10:03:38 -0600 | |
---|---|---|
committer | 2016-05-04 23:47:31 +0200 | |
commit | 6c0244091e8aa98e7977bdddeab2bb864cff9d91 (patch) | |
tree | 5c6a66c3bc1f19c3f3f2212d3290df48f9a3e770 /scripts/gdb/linux/utils.py | |
parent | ACPI / device_sysfs: Add sysfs support for _HRV hardware revision (diff) | |
download | linux-rng-6c0244091e8aa98e7977bdddeab2bb864cff9d91.tar.xz linux-rng-6c0244091e8aa98e7977bdddeab2bb864cff9d91.zip |
ACPI / device_sysfs: Change _SUN and _STA show functions error return to EIO
The error return from a sysfs show function is passed up through
the call chain and visible as the return from the read system call.
The show functions for the _STA and _SUN object currently return
-ENODEV. This patch changes the return to -EIO. ENODEV makes less
sense since the "device' exists or there wouldn't be a sysfs file.
Signed-off-by: Betty Dall <betty.dall@hpe.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions