drivers/remoteproc/stm32_rproc.c:662:34: warning: unused variable 'stm32_rproc_match'

From: kernel test robot
Date: Mon Jul 24 2023 - 11:31:19 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6eaae198076080886b9e7d57f4ae06fa782f90ef
commit: 03bd158e1535e68bcd2b1e095b0ebcad7c84bd20 remoteproc: stm32: use correct format strings on 64-bit
date: 5 weeks ago
config: x86_64-buildonly-randconfig-r001-20230723 (https://download.01.org/0day-ci/archive/20230724/202307242300.ia82qBTp-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce: (https://download.01.org/0day-ci/archive/20230724/202307242300.ia82qBTp-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307242300.ia82qBTp-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/remoteproc/stm32_rproc.c:662:34: warning: unused variable 'stm32_rproc_match' [-Wunused-const-variable]
static const struct of_device_id stm32_rproc_match[] = {
^
1 warning generated.


vim +/stm32_rproc_match +662 drivers/remoteproc/stm32_rproc.c

13140de09cc2dd Fabien Dessenne 2019-05-14 661
13140de09cc2dd Fabien Dessenne 2019-05-14 @662 static const struct of_device_id stm32_rproc_match[] = {
13140de09cc2dd Fabien Dessenne 2019-05-14 663 { .compatible = "st,stm32mp1-m4" },
13140de09cc2dd Fabien Dessenne 2019-05-14 664 {},
13140de09cc2dd Fabien Dessenne 2019-05-14 665 };
13140de09cc2dd Fabien Dessenne 2019-05-14 666 MODULE_DEVICE_TABLE(of, stm32_rproc_match);
13140de09cc2dd Fabien Dessenne 2019-05-14 667

:::::: The code at line 662 was first introduced by commit
:::::: 13140de09cc2dd5e5166ad42292bb82af4e23cef remoteproc: stm32: add an ST stm32_rproc driver

:::::: TO: Fabien Dessenne <fabien.dessenne@xxxxxx>
:::::: CC: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki