From: kernel test robot <lkp@intel.com>
To: Moudy Ho <moudy.ho@mediatek.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-kernel@vger.kernel.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: drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c:49:34: warning: unused variable 'mdp_of_ids'
Date: Fri, 10 Feb 2023 16:29:26 +0800 [thread overview]
Message-ID: <202302101603.xNtJ8p91-lkp@intel.com> (raw)
Hi Moudy,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 38c1e0c65865426676123cc9a127526fa02bcac6
commit: 61890ccaefaff89f5babd2c8412fd222c3f5fe38 media: platform: mtk-mdp3: add MediaTek MDP3 driver
date: 5 months ago
config: hexagon-randconfig-r024-20230210 (https://download.01.org/0day-ci/archive/20230210/202302101603.xNtJ8p91-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db0e6591612b53910a1b366863348bdb9d7d2fb1)
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/torvalds/linux.git/commit/?id=61890ccaefaff89f5babd2c8412fd222c3f5fe38
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus 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 olddefconfig
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>
| Link: https://lore.kernel.org/oe-kbuild-all/202302101603.xNtJ8p91-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c:49:34: warning: unused variable 'mdp_of_ids' [-Wunused-const-variable]
static const struct of_device_id mdp_of_ids[] = {
^
1 warning generated.
--
>> 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.
vim +/mdp_of_ids +49 drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c
48
> 49 static const struct of_device_id mdp_of_ids[] = {
50 { .compatible = "mediatek,mt8183-mdp3-rdma",
51 .data = &mt8183_mdp_driver_data,
52 },
53 {},
54 };
55 MODULE_DEVICE_TABLE(of, mdp_of_ids);
56
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next reply other threads:[~2023-02-10 8:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-10 8:29 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-01-04 18:51 drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c:49:34: warning: unused variable 'mdp_of_ids' kernel test robot
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=202302101603.xNtJ8p91-lkp@intel.com \
--to=lkp@intel.com \
--cc=daoyuan.huang@mediatek.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mchehab@kernel.org \
--cc=moudy.ho@mediatek.com \
--cc=oe-kbuild-all@lists.linux.dev \
--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