[PATCH] drm/omap: Use {} to zero initialize the mode

Daniel Vetter daniel at ffwll.ch
Fri Jul 24 20:10:03 UTC 2020


On Fri, Jul 24, 2020 at 10:04 PM Ville Syrjälä
<ville.syrjala at linux.intel.com> wrote:
>
> On Fri, Jul 24, 2020 at 09:43:45PM +0200, Daniel Vetter wrote:
> > On Fri, Jul 24, 2020 at 9:07 PM Ville Syrjala
> > <ville.syrjala at linux.intel.com> wrote:
> > >
> > > From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> > >
> > > The first member of drm_display_mode is no longer a structure, but
> > > the code is still using {{0}} to zero initialize it. Make that just
> > > {} so it works regardless of what lies inside.
> > >
> > > Cc: Dave Airlie <airlied at redhat.com>
> > > Cc: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
> > > Cc: Tomi Valkeinen <tomi.valkeinen at ti.com>
> > > Fixes: 42acb06b01b1 ("drm: pahole struct drm_display_mode")
> > > Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> >
> > Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch.ch>
> >
> > This needs to go into drm-misc-next-fixes, looks like Maarten has
> > already forward it so you can push it there.
>
> Thanks for the review. Pushed.
>
> -> vacation

Enjoy!

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list