All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v9, 1/5] drm/mediatek: add component OVL_2L2
Date: Thu, 12 Aug 2021 01:07:32 +0800	[thread overview]
Message-ID: <202108120133.lyqlPBif-lkp@intel.com> (raw)
In-Reply-To: <1628647802-5127-2-git-send-email-yongqiang.niu@mediatek.com>

[-- Attachment #1: Type: text/plain, Size: 4627 bytes --]

Hi Yongqiang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.14-rc5 next-20210811]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Yongqiang-Niu/drm-mediatek-add-support-for-mediatek-SOC-MT8192/20210811-101315
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 9e723c5380c6e14fb91a8b6950563d040674afdb
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.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
        # https://github.com/0day-ci/linux/commit/1b296c125948e050f6a25ff30daef443258f9a1e
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Yongqiang-Niu/drm-mediatek-add-support-for-mediatek-SOC-MT8192/20210811-101315
        git checkout 1b296c125948e050f6a25ff30daef443258f9a1e
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c:388:3: error: 'DDP_COMPONENT_OVL_2L2' undeclared here (not in a function); did you mean 'DDP_COMPONENT_OVL_2L1'?
     388 |  [DDP_COMPONENT_OVL_2L2] = { MTK_DISP_OVL_2L,    2, &ddp_ovl },
         |   ^~~~~~~~~~~~~~~~~~~~~
         |   DDP_COMPONENT_OVL_2L1
>> drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c:388:3: error: array index in initializer not of integer type
   drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c:388:3: note: (near initialization for 'mtk_ddp_matches')
   drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c:388:28: warning: initialized field overwritten [-Woverride-init]
     388 |  [DDP_COMPONENT_OVL_2L2] = { MTK_DISP_OVL_2L,    2, &ddp_ovl },
         |                            ^
   drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c:388:28: note: (near initialization for 'mtk_ddp_matches[19]')


vim +388 drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c

   366	
   367	static const struct mtk_ddp_comp_match mtk_ddp_matches[DDP_COMPONENT_ID_MAX] = {
   368		[DDP_COMPONENT_AAL0]	= { MTK_DISP_AAL,	0, &ddp_aal },
   369		[DDP_COMPONENT_AAL1]	= { MTK_DISP_AAL,	1, &ddp_aal },
   370		[DDP_COMPONENT_BLS]	= { MTK_DISP_BLS,	0, NULL },
   371		[DDP_COMPONENT_CCORR]	= { MTK_DISP_CCORR,	0, &ddp_ccorr },
   372		[DDP_COMPONENT_COLOR0]	= { MTK_DISP_COLOR,	0, &ddp_color },
   373		[DDP_COMPONENT_COLOR1]	= { MTK_DISP_COLOR,	1, &ddp_color },
   374		[DDP_COMPONENT_DITHER]	= { MTK_DISP_DITHER,	0, &ddp_dither },
   375		[DDP_COMPONENT_DPI0]	= { MTK_DPI,		0, &ddp_dpi },
   376		[DDP_COMPONENT_DPI1]	= { MTK_DPI,		1, &ddp_dpi },
   377		[DDP_COMPONENT_DSI0]	= { MTK_DSI,		0, &ddp_dsi },
   378		[DDP_COMPONENT_DSI1]	= { MTK_DSI,		1, &ddp_dsi },
   379		[DDP_COMPONENT_DSI2]	= { MTK_DSI,		2, &ddp_dsi },
   380		[DDP_COMPONENT_DSI3]	= { MTK_DSI,		3, &ddp_dsi },
   381		[DDP_COMPONENT_GAMMA]	= { MTK_DISP_GAMMA,	0, &ddp_gamma },
   382		[DDP_COMPONENT_OD0]	= { MTK_DISP_OD,	0, &ddp_od },
   383		[DDP_COMPONENT_OD1]	= { MTK_DISP_OD,	1, &ddp_od },
   384		[DDP_COMPONENT_OVL0]	= { MTK_DISP_OVL,	0, &ddp_ovl },
   385		[DDP_COMPONENT_OVL1]	= { MTK_DISP_OVL,	1, &ddp_ovl },
   386		[DDP_COMPONENT_OVL_2L0]	= { MTK_DISP_OVL_2L,	0, &ddp_ovl },
   387		[DDP_COMPONENT_OVL_2L1]	= { MTK_DISP_OVL_2L,	1, &ddp_ovl },
 > 388		[DDP_COMPONENT_OVL_2L2] = { MTK_DISP_OVL_2L,    2, &ddp_ovl },
   389		[DDP_COMPONENT_PWM0]	= { MTK_DISP_PWM,	0, NULL },
   390		[DDP_COMPONENT_PWM1]	= { MTK_DISP_PWM,	1, NULL },
   391		[DDP_COMPONENT_PWM2]	= { MTK_DISP_PWM,	2, NULL },
   392		[DDP_COMPONENT_RDMA0]	= { MTK_DISP_RDMA,	0, &ddp_rdma },
   393		[DDP_COMPONENT_RDMA1]	= { MTK_DISP_RDMA,	1, &ddp_rdma },
   394		[DDP_COMPONENT_RDMA2]	= { MTK_DISP_RDMA,	2, &ddp_rdma },
   395		[DDP_COMPONENT_UFOE]	= { MTK_DISP_UFOE,	0, &ddp_ufoe },
   396		[DDP_COMPONENT_WDMA0]	= { MTK_DISP_WDMA,	0, NULL },
   397		[DDP_COMPONENT_WDMA1]	= { MTK_DISP_WDMA,	1, NULL },
   398	};
   399	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 77910 bytes --]

  parent reply	other threads:[~2021-08-11 17:07 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-11  2:09 [PATCH v9, 0/5] drm/mediatek: add support for mediatek SOC MT8192 Yongqiang Niu
2021-08-11  2:09 ` Yongqiang Niu
2021-08-11  2:09 ` Yongqiang Niu
2021-08-11  2:09 ` [PATCH v9, 1/5] drm/mediatek: add component OVL_2L2 Yongqiang Niu
2021-08-11  2:09   ` Yongqiang Niu
2021-08-11  2:09   ` Yongqiang Niu
2021-08-11  6:41   ` kernel test robot
2021-08-11 17:07   ` kernel test robot [this message]
2021-08-11  2:09 ` [PATCH v9, 2/5] drm/mediatek: add component POSTMASK Yongqiang Niu
2021-08-11  2:09   ` Yongqiang Niu
2021-08-11  2:09   ` Yongqiang Niu
2021-08-11  2:10 ` [PATCH v9, 3/5] drm/mediatek: add component RDMA4 Yongqiang Niu
2021-08-11  2:10   ` Yongqiang Niu
2021-08-11  2:10   ` Yongqiang Niu
2021-08-11  2:10 ` [PATCH v9, 4/5] soc: mediatek: add mtk mutex support for MT8192 Yongqiang Niu
2021-08-11  2:10   ` Yongqiang Niu
2021-08-11  2:10   ` Yongqiang Niu
2021-08-11  5:04   ` kernel test robot
2021-08-11  2:10 ` [PATCH v9, 5/5] drm/mediatek: add support for mediatek SOC MT8192 Yongqiang Niu
2021-08-11  2:10   ` Yongqiang Niu
2021-08-11  2:10   ` Yongqiang Niu

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=202108120133.lyqlPBif-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.