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]
Date:   Fri, 4 Sep 2020 13:03:03 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jonathan Marek <jonathan@...ek.ca>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Rob Clark <robdclark@...omium.org>
Subject: drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:122:19: warning:
 initialized field overwritten

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   59126901f200f5fc907153468b03c64e0081b6e6
commit: af776a3e1c304bf0409106cd2306173885e415f2 drm/msm/dpu: add SM8250 to hw catalog
date:   5 weeks ago
config: arm64-randconfig-r013-20200904 (attached as .config)
compiler: aarch64-linux-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 af776a3e1c304bf0409106cd2306173885e415f2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

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

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:122:19: warning: initialized field overwritten [-Woverride-init]
     122 |  .max_linewidth = 4096,
         |                   ^~~~
   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:122:19: note: (near initialization for 'sm8250_dpu_caps.max_linewidth')
   In file included from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:11:
   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog_format.h:7:23: warning: 'qcom_compressed_supported_formats' defined but not used [-Wunused-const-variable=]
       7 | static const uint32_t qcom_compressed_supported_formats[] = {
         |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=af776a3e1c304bf0409106cd2306173885e415f2
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout af776a3e1c304bf0409106cd2306173885e415f2
vim +122 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

   110	
   111	static const struct dpu_caps sm8250_dpu_caps = {
   112		.max_mixer_width = DEFAULT_DPU_OUTPUT_LINE_WIDTH,
   113		.max_mixer_blendstages = 0xb,
   114		.max_linewidth = 4096,
   115		.qseed_type = DPU_SSPP_SCALER_QSEED3, /* TODO: qseed3 lite */
   116		.smart_dma_rev = DPU_SSPP_SMART_DMA_V2, /* TODO: v2.5 */
   117		.ubwc_version = DPU_HW_UBWC_VER_40,
   118		.has_src_split = true,
   119		.has_dim_layer = true,
   120		.has_idle_pc = true,
   121		.has_3d_merge = true,
 > 122		.max_linewidth = 4096,
   123		.pixel_ram_size = DEFAULT_PIXEL_RAM_SIZE,
   124	};
   125	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (35777 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ