[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202208100048.hNT26UmZ-lkp@intel.com>
Date: Wed, 10 Aug 2022 00:35:13 +0800
From: kernel test robot <lkp@...el.com>
To: Ezequiel Garcia <ezequiel@...guardiasur.com.ar>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Hans Verkuil <hverkuil@...all.nl>
Subject: [hverkuil-media-tree:for-v5.21a 1/1]
drivers/media/platform/verisilicon/hantro_drv.c:618:34: warning: unused
variable 'of_hantro_match'
Hi Ezequiel,
First bad commit (maybe != root cause):
tree: git://linuxtv.org/hverkuil/media_tree.git for-v5.21a
head: 547c7ca4a3bb8f176b976778bdc754a7b7b218a3
commit: 547c7ca4a3bb8f176b976778bdc754a7b7b218a3 [1/1] media: destage Hantro VPU driver
config: hexagon-randconfig-r002-20220808
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 5f1c7e2cc5a3c07cbc2412e851a7283c1841f520)
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
git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git
git fetch --no-tags hverkuil-media-tree for-v5.21a
git checkout 547c7ca4a3bb8f176b976778bdc754a7b7b218a3
# 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/verisilicon/
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/verisilicon/hantro_drv.c:618:34: warning: unused variable 'of_hantro_match' [-Wunused-const-variable]
static const struct of_device_id of_hantro_match[] = {
^
1 warning generated.
vim +/of_hantro_match +618 drivers/media/platform/verisilicon/hantro_drv.c
775fec69008d30 drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c Ezequiel Garcia 2018-12-05 617
a29add8c9bb29d drivers/staging/media/hantro/hantro_drv.c Philipp Zabel 2019-06-12 @618 static const struct of_device_id of_hantro_match[] = {
a29add8c9bb29d drivers/staging/media/hantro/hantro_drv.c Philipp Zabel 2019-06-12 619 #ifdef CONFIG_VIDEO_HANTRO_ROCKCHIP
fb7cb344b96938 drivers/staging/media/hantro/hantro_drv.c Paul Kocialkowski 2021-07-19 620 { .compatible = "rockchip,px30-vpu", .data = &px30_vpu_variant, },
4f34591568e7a1 drivers/staging/media/hantro/hantro_drv.c Alex Bee 2021-06-14 621 { .compatible = "rockchip,rk3036-vpu", .data = &rk3036_vpu_variant, },
78bb1ae5472cab drivers/staging/media/hantro/hantro_drv.c Alex Bee 2021-06-14 622 { .compatible = "rockchip,rk3066-vpu", .data = &rk3066_vpu_variant, },
775fec69008d30 drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c Ezequiel Garcia 2018-12-05 623 { .compatible = "rockchip,rk3288-vpu", .data = &rk3288_vpu_variant, },
4b898fedeb26c4 drivers/staging/media/hantro/hantro_drv.c Alex Bee 2021-06-14 624 { .compatible = "rockchip,rk3328-vpu", .data = &rk3328_vpu_variant, },
4b898fedeb26c4 drivers/staging/media/hantro/hantro_drv.c Alex Bee 2021-06-14 625 { .compatible = "rockchip,rk3399-vpu", .data = &rk3399_vpu_variant, },
6f1ae821a6c4aa drivers/staging/media/hantro/hantro_drv.c Nicolas Frattaroli 2022-06-12 626 { .compatible = "rockchip,rk3568-vepu", .data = &rk3568_vepu_variant, },
5f6bfab6da6531 drivers/staging/media/hantro/hantro_drv.c Piotr Oniszczuk 2022-02-14 627 { .compatible = "rockchip,rk3568-vpu", .data = &rk3568_vpu_variant, },
8e4aaa68786319 drivers/staging/media/hantro/hantro_drv.c Philipp Zabel 2020-03-20 628 #endif
8e4aaa68786319 drivers/staging/media/hantro/hantro_drv.c Philipp Zabel 2020-03-20 629 #ifdef CONFIG_VIDEO_HANTRO_IMX8M
cf1abc501a5c76 drivers/staging/media/hantro/hantro_drv.c Adam Ford 2022-01-25 630 { .compatible = "nxp,imx8mm-vpu-g1", .data = &imx8mm_vpu_g1_variant, },
8e4aaa68786319 drivers/staging/media/hantro/hantro_drv.c Philipp Zabel 2020-03-20 631 { .compatible = "nxp,imx8mq-vpu", .data = &imx8mq_vpu_variant, },
6971efb70ac3e4 drivers/staging/media/hantro/hantro_drv.c Adam Ford 2022-01-25 632 { .compatible = "nxp,imx8mq-vpu-g1", .data = &imx8mq_vpu_g1_variant },
45040f67504195 drivers/staging/media/hantro/hantro_drv.c Benjamin Gaignard 2021-06-03 633 { .compatible = "nxp,imx8mq-vpu-g2", .data = &imx8mq_vpu_g2_variant },
82ad940c009499 drivers/staging/media/hantro/hantro_drv.c Emil Velikov 2021-04-01 634 #endif
82ad940c009499 drivers/staging/media/hantro/hantro_drv.c Emil Velikov 2021-04-01 635 #ifdef CONFIG_VIDEO_HANTRO_SAMA5D4
82ad940c009499 drivers/staging/media/hantro/hantro_drv.c Emil Velikov 2021-04-01 636 { .compatible = "microchip,sama5d4-vdec", .data = &sama5d4_vdec_variant, },
86790a4fdf4b3d drivers/staging/media/hantro/hantro_drv.c Jernej Skrabec 2021-11-29 637 #endif
86790a4fdf4b3d drivers/staging/media/hantro/hantro_drv.c Jernej Skrabec 2021-11-29 638 #ifdef CONFIG_VIDEO_HANTRO_SUNXI
86790a4fdf4b3d drivers/staging/media/hantro/hantro_drv.c Jernej Skrabec 2021-11-29 639 { .compatible = "allwinner,sun50i-h6-vpu-g2", .data = &sunxi_vpu_variant, },
a29add8c9bb29d drivers/staging/media/hantro/hantro_drv.c Philipp Zabel 2019-06-12 640 #endif
775fec69008d30 drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c Ezequiel Garcia 2018-12-05 641 { /* sentinel */ }
775fec69008d30 drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c Ezequiel Garcia 2018-12-05 642 };
a29add8c9bb29d drivers/staging/media/hantro/hantro_drv.c Philipp Zabel 2019-06-12 643 MODULE_DEVICE_TABLE(of, of_hantro_match);
775fec69008d30 drivers/staging/media/rockchip/vpu/rockchip_vpu_drv.c Ezequiel Garcia 2018-12-05 644
:::::: The code at line 618 was first introduced by commit
:::::: a29add8c9bb29dfa8dc47c71b2702e9cc4f332a6 media: rockchip/vpu: rename from rockchip to hantro
:::::: TO: Philipp Zabel <p.zabel@...gutronix.de>
:::::: CC: Mauro Carvalho Chehab <mchehab+samsung@...nel.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (126535 bytes)
Powered by blists - more mailing lists