aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2012-03-15 22:17:12 +0000
committerLinus Torvalds <[email protected]>2012-03-16 00:03:04 +0000
commitcf2b94daab9f3d21b0a393bef91292622f6a8ca4 (patch)
tree94072a3065136a32496265be81922274db8021cd /fs/jbd/commit.c
parentMAINTAINERS: add entry for exynos mipi display drivers (diff)
downloadkernel-cf2b94daab9f3d21b0a393bef91292622f6a8ca4.tar.gz
kernel-cf2b94daab9f3d21b0a393bef91292622f6a8ca4.zip
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 <[email protected]> Acked-by: Inki Dae <[email protected]> Signed-off-by: Florian Tobias Schandinat <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions