diff options
author | 2012-03-15 15:17:12 -0700 | |
---|---|---|
committer | 2012-03-15 17:03:04 -0700 | |
commit | cf2b94daab9f3d21b0a393bef91292622f6a8ca4 (patch) | |
tree | 94072a3065136a32496265be81922274db8021cd /net/unix/af_unix.c | |
parent | MAINTAINERS: add entry for exynos mipi display drivers (diff) | |
download | wireguard-linux-cf2b94daab9f3d21b0a393bef91292622f6a8ca4.tar.xz wireguard-linux-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 <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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions