[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202212071924.KwSRRWxR-lkp@intel.com>
Date: Wed, 7 Dec 2022 19:58:49 +0800
From: kernel test robot <lkp@...el.com>
To: Mauro Carvalho Chehab <mchehab@...nel.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org
Subject: drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c:3126:34:
warning: unused variable 'samsung_jpeg_match'
Hi Mauro,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 8ed710da2873c2aeb3bb805864a699affaf1d03b
commit: f4104b7851a8d8b9a70899dcbecdb393eb16cd8a media: platform: rename s5p-jpeg/ to samsung/s5p-jpeg/
date: 9 months ago
config: hexagon-randconfig-r004-20221207
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 6e4cea55f0d1104408b26ac574566a0e4de48036)
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=f4104b7851a8d8b9a70899dcbecdb393eb16cd8a
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout f4104b7851a8d8b9a70899dcbecdb393eb16cd8a
# 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/samsung/s5p-jpeg/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c:3126:34: warning: unused variable 'samsung_jpeg_match' [-Wunused-const-variable]
static const struct of_device_id samsung_jpeg_match[] = {
^
1 warning generated.
vim +/samsung_jpeg_match +3126 drivers/media/platform/samsung/s5p-jpeg/jpeg-core.c
6c96dbbc2aa9f5b drivers/media/platform/s5p-jpeg/jpeg-core.c Andrzej Pietrasiewicz 2015-09-18 3125
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 @3126 static const struct of_device_id samsung_jpeg_match[] = {
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 3127 {
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 3128 .compatible = "samsung,s5pv210-jpeg",
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 3129 .data = &s5p_jpeg_drvdata,
3246fdaa0ac2d93 drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2014-07-11 3130 }, {
3246fdaa0ac2d93 drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2014-07-11 3131 .compatible = "samsung,exynos3250-jpeg",
3246fdaa0ac2d93 drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2014-07-11 3132 .data = &exynos3250_jpeg_drvdata,
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 3133 }, {
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 3134 .compatible = "samsung,exynos4210-jpeg",
3246fdaa0ac2d93 drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2014-07-11 3135 .data = &exynos4_jpeg_drvdata,
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 3136 }, {
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 3137 .compatible = "samsung,exynos4212-jpeg",
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 3138 .data = &exynos4_jpeg_drvdata,
7c15fd4bf3d367b drivers/media/platform/s5p-jpeg/jpeg-core.c Andrzej Pietrasiewicz 2015-03-09 3139 }, {
7c15fd4bf3d367b drivers/media/platform/s5p-jpeg/jpeg-core.c Andrzej Pietrasiewicz 2015-03-09 3140 .compatible = "samsung,exynos5420-jpeg",
7c15fd4bf3d367b drivers/media/platform/s5p-jpeg/jpeg-core.c Andrzej Pietrasiewicz 2015-03-09 3141 .data = &exynos5420_jpeg_drvdata,
6c96dbbc2aa9f5b drivers/media/platform/s5p-jpeg/jpeg-core.c Andrzej Pietrasiewicz 2015-09-18 3142 }, {
6c96dbbc2aa9f5b drivers/media/platform/s5p-jpeg/jpeg-core.c Andrzej Pietrasiewicz 2015-09-18 3143 .compatible = "samsung,exynos5433-jpeg",
6c96dbbc2aa9f5b drivers/media/platform/s5p-jpeg/jpeg-core.c Andrzej Pietrasiewicz 2015-09-18 3144 .data = &exynos5433_jpeg_drvdata,
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 3145 },
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 3146 {},
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 3147 };
80529ae5c13725e drivers/media/platform/s5p-jpeg/jpeg-core.c Jacek Anaszewski 2013-12-18 3148
:::::: The code at line 3126 was first introduced by commit
:::::: 80529ae5c13725e12ba0377e29b2160794ba6b25 [media] s5p-jpeg: JPEG codec
:::::: TO: Jacek Anaszewski <j.anaszewski@...sung.com>
:::::: CC: Mauro Carvalho Chehab <m.chehab@...sung.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (118635 bytes)
Powered by blists - more mailing lists