diff options
| author | Yijing Wang <[email protected]> | 2013-11-20 09:28:25 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2013-11-23 13:37:10 +0000 |
| commit | e2fc623e7dda6004cf24ec1470c5a8cc6e1a05e3 (patch) | |
| tree | 41d25ceb89e0736ae1931be713e3271dad21750f /lib/assoc_array.c | |
| parent | pata_arasan_cf: add missing clk_disable_unprepare() on error path (diff) | |
| download | kernel-e2fc623e7dda6004cf24ec1470c5a8cc6e1a05e3.tar.gz kernel-e2fc623e7dda6004cf24ec1470c5a8cc6e1a05e3.zip | |
ata: fix acpi_bus_get_device() return value check
Since acpi_bus_get_device() returns plain int and not acpi_status,
ACPI_FAILURE() should not be used for checking its return value. Fix
that.
tj: Dropped unused local variable @status from odd_can_poweroff().
Reported by kbuild test bot.
Signed-off-by: Yijing Wang <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: Aaron Lu <[email protected]>
Cc: [email protected]
Cc: kbuild test robot <[email protected]>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions
