[PATCH AUTOSEL 4.9 23/43] video: fbdev: pxafb: clear allocated memory for video modes

2018-09-06 Thread Sasha Levin
From: Daniel Mack [ 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

[PATCH AUTOSEL 4.9 23/43] video: fbdev: pxafb: clear allocated memory for video modes

2018-09-06 Thread Sasha Levin
From: Daniel Mack [ 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