From: kernel test robot <lkp@intel.com>
To: Jonathan Marek <jonathan@marek.ca>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Rob Clark <robdclark@chromium.org>
Subject: drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:122:19: warning: initialized field overwritten
Date: Fri, 4 Sep 2020 13:03:03 +0800 [thread overview]
Message-ID: <202009041359.LPcDQtZ9%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2601 bytes --]
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@intel.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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35777 bytes --]
reply other threads:[~2020-09-04 5:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202009041359.LPcDQtZ9%lkp@intel.com \
--to=lkp@intel.com \
--cc=jonathan@marek.ca \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robdclark@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®