Greetings

2015-11-10 Thread Hahn, Cheryl A
I, Prince Alwaleed bin Talal of Saudi Arabia, would like to donate $2 million dollars to you. Get back to me so we can discuss prince.alwaleedbinta...@outlook.com -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majord...@vger.kern

[patch] asus-wmi: fix error handling in store_sys_wmi()

2015-11-10 Thread Dan Carpenter
The asus_wmi_get_devstate_simple() returns 0-1 on success. In theory according to static checkers, it can return either -EIO or -ENODEV on failure. Currently the error handling code only handles -ENODEV and -EIO is treated as success. Let's make it handle the -EIO error as well. It's possible t

Re: [patch] asus-wmi: fix error handling in store_sys_wmi()

2015-11-10 Thread Darren Hart
On Wed, Nov 11, 2015 at 01:18:16AM +0300, Dan Carpenter wrote: > The asus_wmi_get_devstate_simple() returns 0-1 on success. In theory > according to static checkers, it can return either -EIO or -ENODEV on > failure. Currently the error handling code only handles -ENODEV and > -EIO is treated as