acpi-wmi: unsigned cannot be less than 0
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 4 Mar 2009 19:55:30 +0000 (11:55 -0800)
committerLen Brown <len.brown@intel.com>
Mon, 16 Mar 2009 04:38:24 +0000 (00:38 -0400)
commitda511997d2bbc09f5e39385e0ed209578db07c91
treea366c9ec369846fb5bce7b35ae0f234c53441c3a
parentb36a50f92d1c4300a88f606b4d2bbdc4f442a2d7
acpi-wmi: unsigned cannot be less than 0

include/linux/pci-acpi.h:74:

typedef u32                 acpi_status;

result is unsigned, so an error returned by acpi_bus_register_driver()
will not be noticed.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/wmi.c