Dan Carpenter cf2b94daab drivers/video/backlight/s6e63m0.c: fix corruption storing gamma mode
strict_strtoul() writes a long but ->gamma_mode only has space to store an
int, so on 64 bit systems we end up scribbling over ->gamma_table_count as
well.  I've changed it to use kstrtouint() instead.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-03-15 17:03:04 -07:00
..
2011-03-22 17:44:00 -07:00
2011-03-22 17:43:59 -07:00
2012-01-10 16:30:48 -08:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2012-01-10 16:30:48 -08:00
2011-03-31 11:26:23 -03:00
2011-05-18 23:24:50 +02:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2009-09-23 07:39:43 -07:00