From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-sof-driver:pr/1416 6/27] sound/soc/codecs/rt700-sdw.c:489:28: error: implicit declaration of function 'to_sdw_slave_device'; did you mean 'sdw_slave_modalias'?
Date: Fri, 08 Nov 2019 00:56:52 +0800 [thread overview]
Message-ID: <201911080050.9UNm2dmR%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2211 bytes --]
tree: https://github.com/thesofproject/linux pr/1416
head: 0020b7f6bc9fed1ed82deb4d4360da06e0556582
commit: f5e99e24a00bfdef55f6c1460b0887fcff3bd1cb [6/27] ASoC: codecs: rt700: add Soundwire support
config: x86_64-sof-customedconfig-soundwire-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
git checkout f5e99e24a00bfdef55f6c1460b0887fcff3bd1cb
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
sound/soc/codecs/rt700-sdw.c: In function 'rt700_dev_resume':
>> sound/soc/codecs/rt700-sdw.c:489:28: error: implicit declaration of function 'to_sdw_slave_device'; did you mean 'sdw_slave_modalias'? [-Werror=implicit-function-declaration]
struct sdw_slave *slave = to_sdw_slave_device(dev);
^~~~~~~~~~~~~~~~~~~
sdw_slave_modalias
sound/soc/codecs/rt700-sdw.c:489:28: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
cc1: some warnings being treated as errors
vim +489 sound/soc/codecs/rt700-sdw.c
486
487 static int rt700_dev_resume(struct device *dev)
488 {
> 489 struct sdw_slave *slave = to_sdw_slave_device(dev);
490 struct rt700_priv *rt700 = dev_get_drvdata(dev);
491 unsigned long time;
492
493 if (!rt700->hw_init)
494 return 0;
495
496 time = wait_for_completion_timeout(&slave->enumeration_complete,
497 msecs_to_jiffies(RT700_PROBE_TIMEOUT));
498 if (!time) {
499 dev_err(&slave->dev, "Enumeration not complete, timed out\n");
500 return -ETIMEDOUT;
501 }
502
503 regcache_cache_only(rt700->regmap, false);
504 regcache_sync_region(rt700->regmap, 0x3000, 0x8fff);
505 regcache_sync_region(rt700->regmap, 0x75200010, 0x7520006b);
506
507 return 0;
508 }
509
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32156 bytes --]
reply other threads:[~2019-11-07 16:56 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=201911080050.9UNm2dmR%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.