Commit 15fbc3b9 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/fbcon: zero-initialise the mode_cmd2 structure

This is tripping up the format modifier patches.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 498595ab
......@@ -315,7 +315,7 @@ nouveau_fbcon_create(struct drm_fb_helper *helper,
struct drm_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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment