Re: [PATCH 1/2] ACPI / scan: Fix acpi_bus_get_device() check in acpi_match_device()

2013-01-31 Thread Yinghai Lu
On Wed, Jan 30, 2013 at 2:03 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since acpi_bus_get_device() returns int and not acpi_status, change > acpi_match_device() so that it doesn't apply ACPI_FAILURE() to the > return value of acpi_bus_get_device(). > > Signed-off-by: Rafael J.

Re: [PATCH 1/2] ACPI / scan: Fix acpi_bus_get_device() check in acpi_match_device()

2013-01-31 Thread Mika Westerberg
On Wed, Jan 30, 2013 at 11:03:07PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since acpi_bus_get_device() returns int and not acpi_status, change > acpi_match_device() so that it doesn't apply ACPI_FAILURE() to the > return value of acpi_bus_get_device(). > > Signed-off-by:

Re: [PATCH 1/2] ACPI / scan: Fix acpi_bus_get_device() check in acpi_match_device()

2013-01-31 Thread Mika Westerberg
On Wed, Jan 30, 2013 at 11:03:07PM +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Since acpi_bus_get_device() returns int and not acpi_status, change acpi_match_device() so that it doesn't apply ACPI_FAILURE() to the return value of acpi_bus_get_device().

Re: [PATCH 1/2] ACPI / scan: Fix acpi_bus_get_device() check in acpi_match_device()

2013-01-31 Thread Yinghai Lu
On Wed, Jan 30, 2013 at 2:03 PM, Rafael J. Wysocki r...@sisk.pl wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Since acpi_bus_get_device() returns int and not acpi_status, change acpi_match_device() so that it doesn't apply ACPI_FAILURE() to the return value of

Re: [PATCH 1/2] ACPI / scan: Fix acpi_bus_get_device() check in acpi_match_device()

2013-01-30 Thread Yasuaki Ishimatsu
2013/01/31 7:03, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Since acpi_bus_get_device() returns int and not acpi_status, change acpi_match_device() so that it doesn't apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Rafael J. Wysocki --- I have no

[PATCH 1/2] ACPI / scan: Fix acpi_bus_get_device() check in acpi_match_device()

2013-01-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since acpi_bus_get_device() returns int and not acpi_status, change acpi_match_device() so that it doesn't apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Rafael J. Wysocki --- drivers/acpi/scan.c |4 ++-- 1 file changed, 2

[PATCH 1/2] ACPI / scan: Fix acpi_bus_get_device() check in acpi_match_device()

2013-01-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Since acpi_bus_get_device() returns int and not acpi_status, change acpi_match_device() so that it doesn't apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com ---

Re: [PATCH 1/2] ACPI / scan: Fix acpi_bus_get_device() check in acpi_match_device()

2013-01-30 Thread Yasuaki Ishimatsu
2013/01/31 7:03, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Since acpi_bus_get_device() returns int and not acpi_status, change acpi_match_device() so that it doesn't apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Rafael J.