Re: [PATCH v2 2/6] soc/tegra: fuse: Add tegra_acpi_init_apbmisc()

From: kernel test robot
Date: Wed Sep 06 2023 - 13:31:50 EST


Hi Kartik,

kernel test robot noticed the following build warnings:

[auto build test WARNING on tegra/for-next]
[also build test WARNING on linus/master v6.5 next-20230906]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Kartik/soc-tegra-fuse-Refactor-resource-mapping/20230906-032546
base: https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next
patch link: https://lore.kernel.org/r/20230905125824.2947-3-kkartik%40nvidia.com
patch subject: [PATCH v2 2/6] soc/tegra: fuse: Add tegra_acpi_init_apbmisc()
config: arm64-randconfig-r023-20230906 (https://download.01.org/0day-ci/archive/20230907/202309070129.gFw1OFMp-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230907/202309070129.gFw1OFMp-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/202309070129.gFw1OFMp-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/soc/tegra/fuse/tegra-apbmisc.c:133:36: warning: unused variable 'apbmisc_acpi_match' [-Wunused-const-variable]
static const struct acpi_device_id apbmisc_acpi_match[] = {
^
1 warning generated.


vim +/apbmisc_acpi_match +133 drivers/soc/tegra/fuse/tegra-apbmisc.c

132
> 133 static const struct acpi_device_id apbmisc_acpi_match[] = {
134 { "NVDA2010" },
135 { /* sentinel */ }
136 };
137

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