mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 07:13:34 +00:00
drm/nouveau/fbcon: zero-initialise the mode_cmd2 structure
[ Upstream commit 15fbc3b938
]
This is tripping up the format modifier patches.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
3793c4c127
commit
1a284881b0
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ nouveau_fbcon_create(struct drm_fb_helper *helper,
|
|||
struct nouveau_framebuffer *fb;
|
||||
struct nouveau_channel *chan;
|
||||
struct nouveau_bo *nvbo;
|
||||
struct drm_mode_fb_cmd2 mode_cmd;
|
||||
struct drm_mode_fb_cmd2 mode_cmd = {};
|
||||
int ret;
|
||||
|
||||
mode_cmd.width = sizes->surface_width;
|
||||
|
|
Loading…
Reference in a new issue