diff options
author | Daniel Mack <daniel@zonque.org> | 2018-07-24 19:11:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-26 08:38:01 +0200 |
commit | 0b339773a30ea35b8193552926aaeeeab8be7d83 (patch) | |
tree | 76921dad3e86a2d600f657b8193390d5f264adda /sound | |
parent | b2b5343639d1f187fc93dccea356bec7a8036554 (diff) | |
download | linux-stable-0b339773a30ea35b8193552926aaeeeab8be7d83.tar.gz linux-stable-0b339773a30ea35b8193552926aaeeeab8be7d83.tar.bz2 linux-stable-0b339773a30ea35b8193552926aaeeeab8be7d83.zip |
video: fbdev: pxafb: clear allocated memory for video modes
[ Upstream commit b951d80aaf224b1f774e10def672f5e37488e4ee ]
When parsing the video modes from DT properties, make sure to zero out
memory before using it. This is important because not all fields in the mode
struct are explicitly initialized, even though they are used later on.
Fixes: 420a488278e86 ("video: fbdev: pxafb: initial devicetree conversion")
Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions