From: Yijing Wang Date: Wed, 20 Nov 2013 09:28:25 +0000 (+0800) Subject: ata: fix acpi_bus_get_device() return value check X-Git-Tag: v3.13-rc2~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2fc623e7dda6004cf24ec1470c5a8cc6e1a05e3;p=pandora-kernel.git 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 Signed-off-by: Tejun Heo Acked-by: Aaron Lu Cc: linux-ide@vger.kernel.org Cc: kbuild test robot --- Reading git-diff-tree failed