hp-wmi: check query return value in hp_wmi_perform_query
authorAnssi Hannula <anssi.hannula@iki.fi>
Sun, 20 Feb 2011 18:07:20 +0000 (20:07 +0200)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:07:17 +0000 (06:07 -0400)
commit9af0e0fb70ed8e2387323c19496a7e174363f7b6
tree637c967dbb194e1e8aed4177ef9bf03eb6c2ff30
parent7751ab8e600f26e10c2ba12a92d48a4852a51da8
hp-wmi: check query return value in hp_wmi_perform_query

Check BIOS provided return value code in hp_wmi_perform_query and print
a warning on error. Printing is suppressed for HPWMI_RET_UNKNOWN_CMDTYPE
which is returned when the command type is unsupported.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/hp-wmi.c
This page took 0.027375 seconds and 5 git commands to generate.