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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 24, 2020 at 10:04 PM Ville Syrjälä
<ville.syrjala@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx> wrote:
> > >
> > > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> > >
> > > 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@xxxxxxxxxx>
> > > Cc: Laurent Pinchart <laurent.pinchart+renesas@xxxxxxxxxxxxxxxx>
> > > Cc: Tomi Valkeinen <tomi.valkeinen@xxxxxx>
> > > Fixes: 42acb06b01b1 ("drm: pahole struct drm_display_mode")
> > > Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> >
> > Reviewed-by: Daniel Vetter <daniel.vetter@xxxxxxxxxxx>
> >
> > 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
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux