lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204090433.lPMYm4fL-lkp@intel.com>
Date:   Sat, 9 Apr 2022 04:30:20 +0800
From:   kernel test robot <lkp@...el.com>
To:     Lukas Wunner <lukas@...ner.de>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [l1k:smsc95xx_5.17 118/201]
 drivers/gpu/drm/i915/display/intel_fbdev.c:109:23: error: initialized field
 overwritten

tree:   https://github.com/l1k/linux smsc95xx_5.17
head:   240f56c27361c195cd502d95aba51c6b8e5b808c
commit: 326d4dbb40e05881260d64be29e4cca96443ef1a [118/201] kbuild: Cross-compile binaries to build modules on target
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220409/202204090433.lPMYm4fL-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
        # https://github.com/l1k/linux/commit/326d4dbb40e05881260d64be29e4cca96443ef1a
        git remote add l1k https://github.com/l1k/linux
        git fetch --no-tags l1k smsc95xx_5.17
        git checkout 326d4dbb40e05881260d64be29e4cca96443ef1a
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/i915/display/intel_fbdev.c:109:23: error: initialized field overwritten [-Werror=override-init]
     109 |         .fb_set_par = intel_fbdev_set_par,
         |                       ^~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/i915/display/intel_fbdev.c:109:23: note: (near initialization for 'intelfb_ops.fb_set_par')
   drivers/gpu/drm/i915/display/intel_fbdev.c:113:27: error: initialized field overwritten [-Werror=override-init]
     113 |         .fb_pan_display = intel_fbdev_pan_display,
         |                           ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/i915/display/intel_fbdev.c:113:27: note: (near initialization for 'intelfb_ops.fb_pan_display')
   drivers/gpu/drm/i915/display/intel_fbdev.c:114:21: error: initialized field overwritten [-Werror=override-init]
     114 |         .fb_blank = intel_fbdev_blank,
         |                     ^~~~~~~~~~~~~~~~~
   drivers/gpu/drm/i915/display/intel_fbdev.c:114:21: note: (near initialization for 'intelfb_ops.fb_blank')
   cc1: all warnings being treated as errors


vim +109 drivers/gpu/drm/i915/display/intel_fbdev.c

d9a946b52350bb drivers/gpu/drm/i915/intel_fbdev.c         Rodrigo Vivi  2015-05-28  105  
b6ff753a0ca0d2 drivers/gpu/drm/i915/display/intel_fbdev.c Jani Nikula   2019-12-03  106  static const struct fb_ops intelfb_ops = {
79e539453b34e3 drivers/gpu/drm/i915/intel_fb.c            Jesse Barnes  2008-11-07  107  	.owner = THIS_MODULE,
a36384dd941b48 drivers/gpu/drm/i915/intel_fbdev.c         Stefan Christ 2016-11-14  108  	DRM_FB_HELPER_DEFAULT_OPS,
e991077ec67e08 drivers/gpu/drm/i915/intel_fbdev.c         Daniel Vetter 2014-06-18 @109  	.fb_set_par = intel_fbdev_set_par,
21cff14847421f drivers/gpu/drm/i915/intel_fbdev.c         Archit Taneja 2015-07-31  110  	.fb_fillrect = drm_fb_helper_cfb_fillrect,
21cff14847421f drivers/gpu/drm/i915/intel_fbdev.c         Archit Taneja 2015-07-31  111  	.fb_copyarea = drm_fb_helper_cfb_copyarea,
21cff14847421f drivers/gpu/drm/i915/intel_fbdev.c         Archit Taneja 2015-07-31  112  	.fb_imageblit = drm_fb_helper_cfb_imageblit,
d9a946b52350bb drivers/gpu/drm/i915/intel_fbdev.c         Rodrigo Vivi  2015-05-28  113  	.fb_pan_display = intel_fbdev_pan_display,
03e515f7f8949c drivers/gpu/drm/i915/intel_fbdev.c         Rodrigo Vivi  2015-03-09  114  	.fb_blank = intel_fbdev_blank,
785b93ef8c3097 drivers/gpu/drm/i915/intel_fb.c            Dave Airlie   2009-08-28  115  };
785b93ef8c3097 drivers/gpu/drm/i915/intel_fb.c            Dave Airlie   2009-08-28  116  

:::::: The code at line 109 was first introduced by commit
:::::: e991077ec67e08bd345fcee4f810e59740359da5 drm/i915: Properly track domain of the fbcon fb

:::::: TO: Daniel Vetter <daniel.vetter@...ll.ch>
:::::: CC: Daniel Vetter <daniel.vetter@...ll.ch>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ