diff options
author | 2013-08-14 12:02:30 +0300 | |
---|---|---|
committer | 2013-09-05 08:52:06 -0400 | |
commit | 0a018a68d3bfbd6288f3b646edb0dd0720209790 (patch) | |
tree | 083659b980d4db0e5071cb86f54f0c7a15b2e43e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | hp_wmi: Fix unregister order in hp_wmi_rfkill_setup() (diff) | |
download | wireguard-linux-0a018a68d3bfbd6288f3b646edb0dd0720209790.tar.xz wireguard-linux-0a018a68d3bfbd6288f3b646edb0dd0720209790.zip |
wmi: parse_wdg() should return kernel error codes
The current code returns a mix of acpi_status and kernel error codes.
It should just return kernel error codes. There are already error paths
in this function which return -ENOMEM and that's what the caller
expects.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions