All of lore.kernel.org
 help / color / mirror / Atom feed
* sound/soc/qcom/lpass-sc7180.c:287:34: warning: 'sc7180_lpass_cpu_device_id' defined but not used
@ 2023-03-07  0:16 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-03-07  0:16 UTC (permalink / raw)
  To: Luciano Coelho, Golan Ben Ami, Michael Golant, Johannes Berg
  Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/chromeos.git chromeos-5.10__release/core59-42
head:   e3fe4ac2447d89b8dca61663851e12d2f1247b56
commit: 08a70a6fab2cb0db295184a63ef6f25a4a43398e FROMGIT: ASoC: qcom: sc7180: Add machine driver for sound card registration
date:   2 years, 3 months ago
config: x86_64-buildonly-randconfig-r003-20230306 (https://download.01.org/0day-ci/archive/20230307/202303070842.EsU1F4B6-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/chromeos.git/commit/?id=08a70a6fab2cb0db295184a63ef6f25a4a43398e
        git remote add iwlwifi-chromeos https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/chromeos.git
        git fetch --no-tags iwlwifi-chromeos chromeos-5.10__release/core59-42
        git checkout 08a70a6fab2cb0db295184a63ef6f25a4a43398e
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=x86_64 olddefconfig
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash sound/soc/qcom/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303070842.EsU1F4B6-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> sound/soc/qcom/lpass-sc7180.c:287:34: warning: 'sc7180_lpass_cpu_device_id' defined but not used [-Wunused-const-variable=]
     287 | static const struct of_device_id sc7180_lpass_cpu_device_id[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/sc7180_lpass_cpu_device_id +287 sound/soc/qcom/lpass-sc7180.c

24caf8d9eb108c Ajit Pandey      2020-08-14  286  
24caf8d9eb108c Ajit Pandey      2020-08-14 @287  static const struct of_device_id sc7180_lpass_cpu_device_id[] = {
24caf8d9eb108c Ajit Pandey      2020-08-14  288  	{.compatible = "qcom,sc7180-lpass-cpu", .data = &sc7180_data},
24caf8d9eb108c Ajit Pandey      2020-08-14  289  	{}
24caf8d9eb108c Ajit Pandey      2020-08-14  290  };
dcde34c47d8f7b Douglas Anderson 2020-09-16  291  MODULE_DEVICE_TABLE(of, sc7180_lpass_cpu_device_id);
24caf8d9eb108c Ajit Pandey      2020-08-14  292  

:::::: The code at line 287 was first introduced by commit
:::::: 24caf8d9eb108c52e144bcc7af94bb1edcb70700 ASoC: qcom: lpass-sc7180: Add platform driver for lpass audio

:::::: TO: Ajit Pandey <ajitp@codeaurora.org>
:::::: CC: Mark Brown <broonie@kernel.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* sound/soc/qcom/lpass-sc7180.c:287:34: warning: 'sc7180_lpass_cpu_device_id' defined but not used
@ 2023-08-15 21:26 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-08-15 21:26 UTC (permalink / raw)
  To: Gregory Greenman, Golan Ben Ami, Michael Golant, Johannes Berg
  Cc: oe-kbuild-all

Hi Ajit,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/chromeos.git chromeos-5.10__release/core59-42
head:   e3fe4ac2447d89b8dca61663851e12d2f1247b56
commit: 08a70a6fab2cb0db295184a63ef6f25a4a43398e FROMGIT: ASoC: qcom: sc7180: Add machine driver for sound card registration
date:   2 years, 8 months ago
config: i386-buildonly-randconfig-r004-20230816 (https://download.01.org/0day-ci/archive/20230816/202308160550.pMV9wr10-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230816/202308160550.pMV9wr10-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308160550.pMV9wr10-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> sound/soc/qcom/lpass-sc7180.c:287:34: warning: 'sc7180_lpass_cpu_device_id' defined but not used [-Wunused-const-variable=]
     287 | static const struct of_device_id sc7180_lpass_cpu_device_id[] = {
         |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/sc7180_lpass_cpu_device_id +287 sound/soc/qcom/lpass-sc7180.c

24caf8d9eb108c5 Ajit Pandey      2020-08-14  286  
24caf8d9eb108c5 Ajit Pandey      2020-08-14 @287  static const struct of_device_id sc7180_lpass_cpu_device_id[] = {
24caf8d9eb108c5 Ajit Pandey      2020-08-14  288  	{.compatible = "qcom,sc7180-lpass-cpu", .data = &sc7180_data},
24caf8d9eb108c5 Ajit Pandey      2020-08-14  289  	{}
24caf8d9eb108c5 Ajit Pandey      2020-08-14  290  };
dcde34c47d8f7be Douglas Anderson 2020-09-16  291  MODULE_DEVICE_TABLE(of, sc7180_lpass_cpu_device_id);
24caf8d9eb108c5 Ajit Pandey      2020-08-14  292  

:::::: The code at line 287 was first introduced by commit
:::::: 24caf8d9eb108c52e144bcc7af94bb1edcb70700 ASoC: qcom: lpass-sc7180: Add platform driver for lpass audio

:::::: TO: Ajit Pandey <ajitp@codeaurora.org>
:::::: CC: Mark Brown <broonie@kernel.org>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-15 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07  0:16 sound/soc/qcom/lpass-sc7180.c:287:34: warning: 'sc7180_lpass_cpu_device_id' defined but not used kernel test robot
2023-08-15 21:26 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.