All of lore.kernel.org
 help / color / mirror / Atom feed
* [morimoto:sound-dai-ops-2023-04-25-v2 35/58] sound/soc/sof/amd/renoir.c:27:37: warning: 'renoir_sof_dai_ops' defined but not used
@ 2023-04-25  9:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-25  9:36 UTC (permalink / raw)
  To: Kuninori Morimoto; +Cc: oe-kbuild-all

tree:   https://github.com/morimoto/linux sound-dai-ops-2023-04-25-v2
head:   95707df62ebc8850d4cc2a5fd9b2674d218e1c93
commit: c28434a42df4f75f25fe6ab8389d032646e85404 [35/58] ASoC: sof: merge DAI call back functions into ops
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20230425/202304251741.UIEXASrE-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/morimoto/linux/commit/c28434a42df4f75f25fe6ab8389d032646e85404
        git remote add morimoto https://github.com/morimoto/linux
        git fetch --no-tags morimoto sound-dai-ops-2023-04-25-v2
        git checkout c28434a42df4f75f25fe6ab8389d032646e85404
        # 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/sof/amd/

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/202304251741.UIEXASrE-lkp@intel.com/

All warnings (new ones prefixed by >>):

   sound/soc/sof/amd/renoir.c:28:18: error: 'acp_dai_probe' undeclared here (not in a function)
      28 |         .probe = acp_dai_probe,
         |                  ^~~~~~~~~~~~~
>> sound/soc/sof/amd/renoir.c:27:37: warning: 'renoir_sof_dai_ops' defined but not used [-Wunused-const-variable=]
      27 | static const struct snd_soc_dai_ops renoir_sof_dai_ops = {
         |                                     ^~~~~~~~~~~~~~~~~~
--
   sound/soc/sof/amd/rembrandt.c:29:18: error: 'acp_dai_probe' undeclared here (not in a function)
      29 |         .probe = acp_dai_probe,
         |                  ^~~~~~~~~~~~~
>> sound/soc/sof/amd/rembrandt.c:28:37: warning: 'rembrandt_sof_dai_ops' defined but not used [-Wunused-const-variable=]
      28 | static const struct snd_soc_dai_ops rembrandt_sof_dai_ops = {
         |                                     ^~~~~~~~~~~~~~~~~~~~~


vim +/renoir_sof_dai_ops +27 sound/soc/sof/amd/renoir.c

    26	
  > 27	static const struct snd_soc_dai_ops renoir_sof_dai_ops = {
    28		.probe = acp_dai_probe,
    29	};
    30	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-25  9:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-25  9:36 [morimoto:sound-dai-ops-2023-04-25-v2 35/58] sound/soc/sof/amd/renoir.c:27:37: warning: 'renoir_sof_dai_ops' defined but not used 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.