All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-sof-driver:pr/1141 4/6] sound/soc//codecs/rt715-sdw.c:490:28: error: implicit declaration of function 'to_sdw_slave_device'; did you mean 'sdw_slave_modalias'?
@ 2019-10-23  4:46 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-23  4:46 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2442 bytes --]

tree:   https://github.com/thesofproject/linux pr/1141
head:   926e8acaaaa7d6e7774bb450c2e17c14a297e29e
commit: 8a3c8ae5d61cf0f89c55bc3c15d243dd7afe3598 [4/6] ASoC: codecs: rt715: 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 8a3c8ae5d61cf0f89c55bc3c15d243dd7afe3598
        # 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/rt715-sdw.c: In function 'rt715_dev_resume':
>> sound/soc//codecs/rt715-sdw.c:490: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/rt715-sdw.c:490:28: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
>> sound/soc//codecs/rt715-sdw.c:497:43: error: 'struct sdw_slave' has no member named 'enumeration_complete'
     time = wait_for_completion_timeout(&slave->enumeration_complete,
                                              ^~
   cc1: some warnings being treated as errors

vim +490 sound/soc//codecs/rt715-sdw.c

   487	
   488	static int rt715_dev_resume(struct device *dev)
   489	{
 > 490		struct sdw_slave *slave = to_sdw_slave_device(dev);
   491		struct rt715_priv *rt715 = dev_get_drvdata(dev);
   492		unsigned long time;
   493	
   494		if (!rt715->hw_init)
   495			return 0;
   496	
 > 497		time = wait_for_completion_timeout(&slave->enumeration_complete,
   498						   msecs_to_jiffies(RT715_PROBE_TIMEOUT));
   499		if (!time) {
   500			dev_err(&slave->dev, "Enumeration not complete, timed out\n");
   501			return -ETIMEDOUT;
   502		}
   503	
   504		regcache_cache_only(rt715->regmap, false);
   505		regcache_sync_region(rt715->regmap, 0x3000, 0x8fff);
   506		regcache_sync_region(rt715->regmap, 0x75200039, 0x75200039);
   507	
   508		return 0;
   509	}
   510	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32187 bytes --]

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

only message in thread, other threads:[~2019-10-23  4:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-23  4:46 [linux-sof-driver:pr/1141 4/6] sound/soc//codecs/rt715-sdw.c:490:28: error: implicit declaration of function 'to_sdw_slave_device'; did you mean 'sdw_slave_modalias'? kbuild 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.