All of lore.kernel.org
 help / color / mirror / Atom feed
* [plbossart-sound:fix/soundwire-realtek-codec-inits 6/8] sound/soc/codecs/rt711-sdw.c:488:43: error: 'struct sdw_slave' has no member named 'enumeration_complete'
@ 2019-10-09 18:13 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-09 18:13 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/plbossart/sound fix/soundwire-realtek-codec-inits
head:   dd1762bae8c1871b320c0649bf0b22f099f5d01b
commit: 1aadba5ef0ba16bfbe11c6a88d5f7939c4282de6 [6/8] ASoC: codecs: rt711-sdw: add PM support
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
        git checkout 1aadba5ef0ba16bfbe11c6a88d5f7939c4282de6
        # 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/rt711-sdw.c: In function 'rt711_dev_resume':
   sound/soc/codecs/rt711-sdw.c:484: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/rt711-sdw.c:484:28: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
>> sound/soc/codecs/rt711-sdw.c:488: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 +488 sound/soc/codecs/rt711-sdw.c

   481	
   482	static int rt711_dev_resume(struct device *dev)
   483	{
 > 484		struct sdw_slave *slave = to_sdw_slave_device(dev);
   485		struct rt711_priv *rt711 = dev_get_drvdata(dev);
   486		unsigned long time;
   487	
 > 488		time = wait_for_completion_timeout(&slave->enumeration_complete,
   489						   msecs_to_jiffies(RT711_PROBE_TIMEOUT));
   490		if (!time) {
   491			dev_err(&slave->dev, "Enumeration not complete, timed out\n");
   492			return -ETIMEDOUT;
   493		}
   494	
   495		regcache_cache_only(rt711->regmap, false);
   496		regcache_mark_dirty(rt711->regmap);
   497		regcache_sync(rt711->regmap);
   498	
   499		return 0;
   500	}
   501	

---
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: 70291 bytes --]

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

only message in thread, other threads:[~2019-10-09 18:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-09 18:13 [plbossart-sound:fix/soundwire-realtek-codec-inits 6/8] sound/soc/codecs/rt711-sdw.c:488:43: error: 'struct sdw_slave' has no member named 'enumeration_complete' 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.