Re: [PATCH] drm/msm/a6xx: Remove some unused functions
From: kernel test robot
Date: Wed Oct 18 2023 - 05:43:39 EST
Hi Jiapeng,
kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20231016]
[cannot apply to drm-misc/drm-misc-next v6.6-rc6 v6.6-rc5 v6.6-rc4 linus/master v6.6-rc6]
[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/Jiapeng-Chong/drm-msm-a6xx-Remove-some-unused-functions/20231017-102229
base: next-20231016
patch link: https://lore.kernel.org/r/20231012024421.102832-1-jiapeng.chong%40linux.alibaba.com
patch subject: [PATCH] drm/msm/a6xx: Remove some unused functions
config: loongarch-randconfig-001-20231018 (https://download.01.org/0day-ci/archive/20231018/202310181742.3qvtq78e-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231018/202310181742.3qvtq78e-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/202310181742.3qvtq78e-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:8:
>> drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h:348:18: warning: 'a7xx_gbif_registers' defined but not used [-Wunused-const-variable=]
348 | static const u32 a7xx_gbif_registers[] = {
| ^~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h:341:18: warning: 'a7xx_ahb_registers' defined but not used [-Wunused-const-variable=]
341 | static const u32 a7xx_ahb_registers[] = {
| ^~~~~~~~~~~~~~~~~~
vim +/a7xx_gbif_registers +348 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h
1707add815519d Jordan Crouse 2018-11-02 334
a5ab31767c7782 Sharat Masetty 2019-12-03 335 static const struct a6xx_registers a6xx_vbif_reglist =
a5ab31767c7782 Sharat Masetty 2019-12-03 336 REGS(a6xx_vbif_registers, 0, 0);
a5ab31767c7782 Sharat Masetty 2019-12-03 337
a5ab31767c7782 Sharat Masetty 2019-12-03 338 static const struct a6xx_registers a6xx_gbif_reglist =
a5ab31767c7782 Sharat Masetty 2019-12-03 339 REGS(a6xx_gbif_registers, 0, 0);
a5ab31767c7782 Sharat Masetty 2019-12-03 340
e997ae5f45caf7 Konrad Dybcio 2023-09-25 @341 static const u32 a7xx_ahb_registers[] = {
e997ae5f45caf7 Konrad Dybcio 2023-09-25 342 /* RBBM_STATUS */
e997ae5f45caf7 Konrad Dybcio 2023-09-25 343 0x210, 0x210,
e997ae5f45caf7 Konrad Dybcio 2023-09-25 344 /* RBBM_STATUS2-3 */
e997ae5f45caf7 Konrad Dybcio 2023-09-25 345 0x212, 0x213,
e997ae5f45caf7 Konrad Dybcio 2023-09-25 346 };
e997ae5f45caf7 Konrad Dybcio 2023-09-25 347
e997ae5f45caf7 Konrad Dybcio 2023-09-25 @348 static const u32 a7xx_gbif_registers[] = {
e997ae5f45caf7 Konrad Dybcio 2023-09-25 349 0x3c00, 0x3c0b,
e997ae5f45caf7 Konrad Dybcio 2023-09-25 350 0x3c40, 0x3c42,
e997ae5f45caf7 Konrad Dybcio 2023-09-25 351 0x3c45, 0x3c47,
e997ae5f45caf7 Konrad Dybcio 2023-09-25 352 0x3c49, 0x3c4a,
e997ae5f45caf7 Konrad Dybcio 2023-09-25 353 0x3cc0, 0x3cd1,
e997ae5f45caf7 Konrad Dybcio 2023-09-25 354 };
e997ae5f45caf7 Konrad Dybcio 2023-09-25 355
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki