aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/hp-wmi.c
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>2010-06-09 16:48:39 -0300
committerMatthew Garrett <mjg@redhat.com>2010-08-03 09:48:46 -0400
commitb95d13eaf3d4ea093aba95c7f615f3b10708a2c4 (patch)
tree932db97cfd3d5c2f4bc2e8bcd99d0cdaa661ed8e /drivers/platform/x86/hp-wmi.c
parentIPS driver: add GPU busy and turbo checking (diff)
downloadlinux-dev-b95d13eaf3d4ea093aba95c7f615f3b10708a2c4.tar.xz
linux-dev-b95d13eaf3d4ea093aba95c7f615f3b10708a2c4.zip
classmate-laptop: should check for NULL as retval for rfkill_alloc
rfkill_alloc returns NULL when it fails if RFKILL is enabled. When RFKILL is disabled, its return value of ERR_PTR(-ENODEV) is OK to use as all rfkill functions will work with it, as they are simply empty stubs. Reported-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Cc: Johannes Berg <johannes@sipsolutions.net> Cc: platform-driver-x86@vger.kernel.org Cc: mjg@redhat.com Cc: don@syst.com.br Cc: rpurdie@rpsys.net Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/hp-wmi.c')
0 files changed, 0 insertions, 0 deletions