linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Moudy Ho <moudy.ho@mediatek.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-media@vger.kernel.org,
	Ping-Hsun Wu <ping-hsun.wu@mediatek.com>,
	daoyuan huang <daoyuan.huang@mediatek.com>,
	Hans Verkuil <hverkuil@xs4all.nl>
Subject: [linux-next:master 3205/7639] drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.c:607:34: warning: unused variable 'mdp_comp_dt_ids'
Date: Fri, 16 Sep 2022 19:05:24 +0800	[thread overview]
Message-ID: <202209161913.VNdFWG7o-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   d5538ab91d3a9a237805be6f8c6c272af2987995
commit: 61890ccaefaff89f5babd2c8412fd222c3f5fe38 [3205/7639] media: platform: mtk-mdp3: add MediaTek MDP3 driver
config: hexagon-randconfig-r033-20220916 (https://download.01.org/0day-ci/archive/20220916/202209161913.VNdFWG7o-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=61890ccaefaff89f5babd2c8412fd222c3f5fe38
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 61890ccaefaff89f5babd2c8412fd222c3f5fe38
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/media/platform/mediatek/mdp3/

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

All warnings (new ones prefixed by >>):

>> drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.c:607:34: warning: unused variable 'mdp_comp_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id mdp_comp_dt_ids[] = {
                                    ^
>> drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.c:627:34: warning: unused variable 'mdp_sub_comp_dt_ids' [-Wunused-const-variable]
   static const struct of_device_id mdp_sub_comp_dt_ids[] = {
                                    ^
   2 warnings generated.

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for VIDEO_MEDIATEK_VPU
   Depends on [n]: MEDIA_SUPPORT [=y] && MEDIA_PLATFORM_SUPPORT [=y] && MEDIA_PLATFORM_DRIVERS [=y] && V4L_MEM2MEM_DRIVERS [=n] && VIDEO_DEV [=m] && (ARCH_MEDIATEK || COMPILE_TEST [=y])
   Selected by [m]:
   - VIDEO_MEDIATEK_MDP3 [=m] && MEDIA_SUPPORT [=y] && MEDIA_PLATFORM_SUPPORT [=y] && MEDIA_PLATFORM_DRIVERS [=y] && (MTK_IOMMU [=m] || COMPILE_TEST [=y]) && VIDEO_DEV [=m] && (ARCH_MEDIATEK || COMPILE_TEST [=y]) && HAS_DMA [=y] && REMOTEPROC [=y]


vim +/mdp_comp_dt_ids +607 drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.c

   606	
 > 607	static const struct of_device_id mdp_comp_dt_ids[] = {
   608		{
   609			.compatible = "mediatek,mt8183-mdp3-rdma",
   610			.data = (void *)MDP_COMP_TYPE_RDMA,
   611		}, {
   612			.compatible = "mediatek,mt8183-mdp3-ccorr",
   613			.data = (void *)MDP_COMP_TYPE_CCORR,
   614		}, {
   615			.compatible = "mediatek,mt8183-mdp3-rsz",
   616			.data = (void *)MDP_COMP_TYPE_RSZ,
   617		}, {
   618			.compatible = "mediatek,mt8183-mdp3-wrot",
   619			.data = (void *)MDP_COMP_TYPE_WROT,
   620		}, {
   621			.compatible = "mediatek,mt8183-mdp3-wdma",
   622			.data = (void *)MDP_COMP_TYPE_WDMA,
   623		},
   624		{}
   625	};
   626	
 > 627	static const struct of_device_id mdp_sub_comp_dt_ids[] = {
   628		{
   629			.compatible = "mediatek,mt8183-mdp3-wdma",
   630			.data = (void *)MDP_COMP_TYPE_PATH,
   631		}, {
   632			.compatible = "mediatek,mt8183-mdp3-wrot",
   633			.data = (void *)MDP_COMP_TYPE_PATH,
   634		},
   635		{}
   636	};
   637	

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


                 reply	other threads:[~2022-09-16 11:05 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=202209161913.VNdFWG7o-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=daoyuan.huang@mediatek.com \
    --cc=hverkuil@xs4all.nl \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=llvm@lists.linux.dev \
    --cc=mchehab@kernel.org \
    --cc=moudy.ho@mediatek.com \
    --cc=ping-hsun.wu@mediatek.com \
    /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