diff options
| author | Hanjun Guo <[email protected]> | 2013-12-05 23:42:38 +0800 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2013-12-07 01:31:59 +0100 |
| commit | 95df812dbdc350bfcf31e247e9100c378a472480 (patch) | |
| tree | 6799159c69b74f6b062060666246ac7522e6d0e9 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | cad1525a5e7443cd93368a22e5b7571c373c8cc0 (diff) | |
ACPI / table: Replace '1' with specific error return values
After commit 7f8f97c3cc (ACPI: acpi_table_parse() now returns
success/fail, not count), acpi_table_parse() returns '1' when it is
unable to find the table, but it should return a negative error code
in that case. Make it return -ENODEV instead.
Fix the same problem in acpi_table_init() analogously.
Signed-off-by: Hanjun Guo <[email protected]>
[rjw: Subject and changelog]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions