Home
last modified time | relevance | path

Searched hist:b951d80aaf224b1f774e10def672f5e37488e4ee (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/video/fbdev/
H A Dpxafb.cdiff b951d80aaf224b1f774e10def672f5e37488e4ee Tue Jul 24 19:11:25 CEST 2018 Daniel Mack <daniel@zonque.org> video: fbdev: pxafb: clear allocated memory for video modes

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>