Hi Ville,
FYI, the error/warning still remains.
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: aab7ee9f8ff0110bfcd594b33dc33748dc1baf46
commit: 42acb06b01b12a2205757a46d3ff75e38840968f [545/9127] drm: pahole struct
drm_display_mode
config: arm-randconfig-r026-20200717 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 42acb06b01b12a2205757a46d3ff75e38840968f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/omapdrm/omap_connector.c: In function
'omap_connector_mode_valid':
> drivers/gpu/drm/omapdrm/omap_connector.c:92:9: warning: braces
around scalar initializer
92 | struct drm_display_mode new_mode = { { 0 } };
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/omapdrm/omap_connector.c:92:9: note: (near initialization for
'new_mode.clock')
vim +92 drivers/gpu/drm/omapdrm/omap_connector.c
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 87
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 88
static enum drm_mode_status omap_connector_mode_valid(struct drm_connector *connector,
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 89
struct drm_display_mode *mode)
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 90
{
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 91
struct omap_connector *omap_connector = to_omap_connector(connector);
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 @92
struct drm_display_mode new_mode = { { 0 } };
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 93
enum drm_mode_status status;
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 94
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 95
status = omap_connector_mode_fixup(omap_connector->output, mode,
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 96
&new_mode);
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 97
if (status != MODE_OK)
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 98
goto done;
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 99
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 100
/* Check if vrefresh is still valid. */
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 101
if (drm_mode_vrefresh(mode) != drm_mode_vrefresh(&new_mode))
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 102
status = MODE_NOCLOCK;
cd5351f4d2b1b8 drivers/staging/omapdrm/omap_connector.c Rob Clark 2011-11-12 103
28120302c2fdf2 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-06-06 104
done:
c39ff7ea780549 drivers/gpu/drm/omapdrm/omap_connector.c Shayenne Moura 2018-12-20 105
DBG("connector: mode %s: " DRM_MODE_FMT,
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 106
(status == MODE_OK) ? "valid" : "invalid",
c39ff7ea780549 drivers/gpu/drm/omapdrm/omap_connector.c Shayenne Moura 2018-12-20 107
DRM_MODE_ARG(mode));
cd5351f4d2b1b8 drivers/staging/omapdrm/omap_connector.c Rob Clark 2011-11-12 108
d68164fe296422 drivers/gpu/drm/omapdrm/omap_connector.c Laurent Pinchart 2018-09-21 109
return status;
cd5351f4d2b1b8 drivers/staging/omapdrm/omap_connector.c Rob Clark 2011-11-12 110
}
cd5351f4d2b1b8 drivers/staging/omapdrm/omap_connector.c Rob Clark 2011-11-12 111
:::::: The code at line 92 was first introduced by commit
:::::: d68164fe29642270ffba64ed64b0178ef7d916bf drm/omap: Factor out common mode
validation code
:::::: TO: Laurent Pinchart <laurent.pinchart(a)ideasonboard.com>
:::::: CC: Tomi Valkeinen <tomi.valkeinen(a)ti.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org