All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Tue, 25 Apr 2023 17:36:44 +0800	[thread overview]
Message-ID: <202304251741.UIEXASrE-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-04-25  9:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202304251741.UIEXASrE-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.