Re: [PATCH 1/4] video: fbdev: pxafb: clear allocated memory for video modes

From
Bartlomiej Zolnierkiewicz <hidden>
Date
2018-07-24 15:01:37
Also in
dri-devel
Reply to
Daniel Mack, 2018-06-24
On Sunday, June 24, 2018 05:38:14 PM Daniel Mack wrote:
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>
Patch queued for 4.19, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Thread (5 messages) 5 messages, 2 authors, last reply 2018-07-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help