From: kernel test robot <lkp@intel.com>
To: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-kernel@vger.kernel.org, linux-media@vger.kernel.org
Subject: drivers/media/platform/imx-pxp.c:1747:34: warning: unused variable 'pxp_dt_ids'
Date: Mon, 2 Nov 2020 06:24:13 +0800 [thread overview]
Message-ID: <202011020611.WqE5elOM-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3350 bytes --]
Hi Mauro,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7b56fbd83e261484da43f04090bce07570bd117f
commit: a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a media: Kconfig: not all V4L2 platform drivers are for camera
date: 7 months ago
config: x86_64-randconfig-a005-20201102 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 235dfcf70abca65dba5d80f1a42d1485bab8980c)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a19f228b8dd9a67e8de4ebd4eac8a4c94ec39d1a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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/media/platform/imx-pxp.c:1747:34: warning: unused variable 'pxp_dt_ids' [-Wunused-const-variable]
static const struct of_device_id pxp_dt_ids[] = {
^
1 warning generated.
--
>> drivers/media/platform/s5p-jpeg/jpeg-core.c:3142:34: warning: unused variable 'samsung_jpeg_match' [-Wunused-const-variable]
static const struct of_device_id samsung_jpeg_match[] = {
^
1 warning generated.
--
drivers/media/platform/mtk-mdp/mtk_mdp_core.c:139:15: warning: cast to smaller integer type 'enum mtk_mdp_comp_type' from 'const void *' [-Wvoid-pointer-to-enum-cast]
comp_type = (enum mtk_mdp_comp_type)of_id->data;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/platform/mtk-mdp/mtk_mdp_core.c:32:34: warning: unused variable 'mtk_mdp_comp_dt_ids' [-Wunused-const-variable]
static const struct of_device_id mtk_mdp_comp_dt_ids[] = {
^
2 warnings generated.
vim +/pxp_dt_ids +1747 drivers/media/platform/imx-pxp.c
51abcf7fdb70b8 Philipp Zabel 2018-09-06 1746
51abcf7fdb70b8 Philipp Zabel 2018-09-06 @1747 static const struct of_device_id pxp_dt_ids[] = {
51abcf7fdb70b8 Philipp Zabel 2018-09-06 1748 { .compatible = "fsl,imx6ull-pxp", .data = NULL },
51abcf7fdb70b8 Philipp Zabel 2018-09-06 1749 { },
51abcf7fdb70b8 Philipp Zabel 2018-09-06 1750 };
51abcf7fdb70b8 Philipp Zabel 2018-09-06 1751 MODULE_DEVICE_TABLE(of, pxp_dt_ids);
51abcf7fdb70b8 Philipp Zabel 2018-09-06 1752
:::::: The code at line 1747 was first introduced by commit
:::::: 51abcf7fdb70b82b7f8a7c177271f29aed9866bd media: imx-pxp: add i.MX Pixel Pipeline driver
:::::: TO: Philipp Zabel <p.zabel@pengutronix.de>
:::::: CC: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
---
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: 42951 bytes --]
reply other threads:[~2020-11-01 22:24 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=202011020611.WqE5elOM-lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.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;
as well as URLs for NNTP newsgroup(s).