asus-wmi: signedness bug in read_brightness()
authorDan Carpenter <error27@gmail.com>
Tue, 15 Mar 2011 07:06:23 +0000 (10:06 +0300)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:46:06 +0000 (06:46 -0400)
commit0986f25fbba8827762b35222bb45d2fbb2d72fa4
tree84b1dae95e472a785cba1007a660f090c45125b1
parent2783658477205b0cf31e5c02d69214e36fe59aae
asus-wmi: signedness bug in read_brightness()

"err" needs to be signed for the error handling to work.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/asus-wmi.c