cf2b94daab
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> |
||
---|---|---|
.. | ||
88pm860x_bl.c | ||
Kconfig | ||
Makefile | ||
aat2870_bl.c | ||
adp5520_bl.c | ||
adp8860_bl.c | ||
adp8870_bl.c | ||
ams369fg06.c | ||
apple_bl.c | ||
atmel-pwm-bl.c | ||
backlight.c | ||
corgi_lcd.c | ||
cr_bllcd.c | ||
da903x_bl.c | ||
ep93xx_bl.c | ||
generic_bl.c | ||
hp680_bl.c | ||
ili9320.c | ||
ili9320.h | ||
jornada720_bl.c | ||
jornada720_lcd.c | ||
kb3886_bl.c | ||
l4f00242t03.c | ||
lcd.c | ||
ld9040.c | ||
ld9040_gamma.h | ||
lms283gf05.c | ||
locomolcd.c | ||
ltv350qv.c | ||
ltv350qv.h | ||
max8925_bl.c | ||
omap1_bl.c | ||
pcf50633-backlight.c | ||
platform_lcd.c | ||
progear_bl.c | ||
pwm_bl.c | ||
s6e63m0.c | ||
s6e63m0_gamma.h | ||
tdo24m.c | ||
tosa_bl.c | ||
tosa_lcd.c | ||
vgg2432a4.c | ||
wm831x_bl.c |