warning in omap_connector

Dave Airlie airlied at gmail.com
Tue Jun 30 06:33:37 UTC 2020


Hey Laurent,

I merged drm-misc-next and noticed this, I'm not sure if it's
collateral damage from something else changing or I've just missed it
previously. 32-bit arm build.


/home/airlied/devel/kernel/dim/src/drivers/gpu/drm/omapdrm/omap_connector.c:
In function ‘omap_connector_mode_valid’:
/home/airlied/devel/kernel/dim/src/drivers/gpu/drm/omapdrm/omap_connector.c:92:9:
warning: braces around scalar initializer
  struct drm_display_mode new_mode = { { 0 } };
         ^~~~~~~~~~~~~~~~
/home/airlied/devel/kernel/dim/src/drivers/gpu/drm/omapdrm/omap_connector.c:92:9:
note: (near initialization for ‘new_mode.clock’)

Dave.


More information about the dri-devel mailing list