]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: asus_oled: fix oops in 2.6.32.2
authorEugeni Dodonov <eugeni@mandriva.com>
Wed, 23 Dec 2009 12:27:22 +0000 (10:27 -0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Jan 2010 23:05:25 +0000 (15:05 -0800)
commitec9ead8a97ac4f81629ba8020bed1fc7af2ba73f
treed542a1a11693c4820cbcb58a23d25eec76df0024
parentd77bea9f5f4d67b6fecff7632c82426137c276d6
Staging: asus_oled: fix oops in 2.6.32.2

After updating to 2.6.32 kernel, I started experiencing Oopses caused by
the asus_oled module. After quick investigation, I wrapped this simple
patch which fixes an Oops in by asus_oled module on 2.6.32.2 kernel,
caused by incorrect usage of strict_strtoul function call within
set_enabled and set_disabled functions. This can be triggered by simple
running the userspace client for asus_old (e.g., 'asusoled -e' or
'asusoled -d').

Signed-off-by: Eugeni Dodonov <eugeni@mandriva.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/asus_oled/asus_oled.c