All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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'
Date: Thu, 10 Oct 2019 02:13:42 +0800	[thread overview]
Message-ID: <201910100229.M059JWIE%lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2019-10-09 18:13 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=201910100229.M059JWIE%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.