From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [morimoto-linux:fw-cleanup-2020-06-01-v1 43/162] sound/soc/codecs/rt5682-i2c.c:62:6: error: implicit declaration of function 'snd_soc_component_read32'; did you mean 'snd_soc_component_read'?
Date: Tue, 02 Jun 2020 19:45:01 +0800 [thread overview]
Message-ID: <202006021958.Xrt1tjip%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3201 bytes --]
tree: https://github.com/morimoto/linux fw-cleanup-2020-06-01-v1
head: 260797ab38d66917051cd83f9723ebcef557e69f
commit: afceb85af11e65c8a97f5bfc13ba73cc414f3bf7 [43/162] ASoC: remove snd_soc_component_read32()
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout afceb85af11e65c8a97f5bfc13ba73cc414f3bf7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
sound/soc/codecs/rt5682-i2c.c: In function 'rt5682_jd_check_handler':
>> sound/soc/codecs/rt5682-i2c.c:62:6: error: implicit declaration of function 'snd_soc_component_read32'; did you mean 'snd_soc_component_read'? [-Werror=implicit-function-declaration]
62 | if (snd_soc_component_read32(rt5682->component, RT5682_AJD1_CTRL)
| ^~~~~~~~~~~~~~~~~~~~~~~~
| snd_soc_component_read
cc1: some warnings being treated as errors
vim +62 sound/soc/codecs/rt5682-i2c.c
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 56
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 57 static void rt5682_jd_check_handler(struct work_struct *work)
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 58 {
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 59 struct rt5682_priv *rt5682 = container_of(work, struct rt5682_priv,
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 60 jd_check_work.work);
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 61
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 @62 if (snd_soc_component_read32(rt5682->component, RT5682_AJD1_CTRL)
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 63 & RT5682_JDH_RS_MASK) {
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 64 /* jack out */
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 65 rt5682->jack_type = rt5682_headset_detect(rt5682->component, 0);
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 66
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 67 snd_soc_jack_report(rt5682->hs_jack, rt5682->jack_type,
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 68 SND_JACK_HEADSET |
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 69 SND_JACK_BTN_0 | SND_JACK_BTN_1 |
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 70 SND_JACK_BTN_2 | SND_JACK_BTN_3);
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 71 } else {
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 72 schedule_delayed_work(&rt5682->jd_check_work, 500);
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 73 }
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 74 }
a50067d4f3c1d6 Arnd Bergmann 2020-05-28 75
:::::: The code at line 62 was first introduced by commit
:::::: a50067d4f3c1d60d3fa07584aa6a0f897c1ac5b6 ASoC: rt5682: split i2c driver into separate module
:::::: TO: Arnd Bergmann <arnd@arndb.de>
:::::: CC: Mark Brown <broonie@kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 63457 bytes --]
reply other threads:[~2020-06-02 11:45 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=202006021958.Xrt1tjip%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.