mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Cc: kbuild-all@01.org, Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Support Opensource <support.opensource@diasemi.com>
Subject: Re: [PATCH v3 2/2] ASoC: codecs: Add da7218 codec driver
Date: Fri, 20 Nov 2015 02:29:07 +0800	[thread overview]
Message-ID: <201511200245.PvuOfna4%fengguang.wu@intel.com> (raw)
In-Reply-To: <bcb4aa998c14e0b864fb41bb02b90322b52213d9.1447941395.git.Adam.Thomson.Opensource@diasemi.com>

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

Hi Adam,

[auto build test WARNING on: asoc/for-next]
[also build test WARNING on: v4.4-rc1 next-20151119]

url:    https://github.com/0day-ci/linux/commits/Adam-Thomson/ASoC-da7218-Add-bindings-documentation-for-DA7218-audio-codec/20151120-014315
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   sound/soc/codecs/da7218.c: In function 'da7218_of_get_id':
>> sound/soc/codecs/da7218.c:2261:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      return (int) id->data;
             ^

vim +2261 sound/soc/codecs/da7218.c

  2245	/*
  2246	 * DT
  2247	 */
  2248	
  2249	static const struct of_device_id da7218_of_match[] = {
  2250		{ .compatible = "dlg,da7217", .data = (void *) DA7217_DEV_ID },
  2251		{ .compatible = "dlg,da7218", .data = (void *) DA7218_DEV_ID },
  2252		{ }
  2253	};
  2254	MODULE_DEVICE_TABLE(of, da7218_of_match);
  2255	
  2256	static inline int da7218_of_get_id(struct device *dev)
  2257	{
  2258		const struct of_device_id *id = of_match_device(da7218_of_match, dev);
  2259	
  2260		if (id)
> 2261			return (int) id->data;
  2262		else
  2263			return -EINVAL;
  2264	}
  2265	
  2266	static enum da7218_micbias_voltage
  2267		da7218_of_micbias_lvl(struct snd_soc_codec *codec, u32 val)
  2268	{
  2269		switch (val) {

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 51108 bytes --]

      reply	other threads:[~2015-11-19 18:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19 13:59 [PATCH v3 0/2] ASoC: Add support for DA7217 and DA7218 audio codecs Adam Thomson
2015-11-19 13:59 ` [PATCH v3 1/2] ASoC: da7218: Add bindings documentation for DA7218 audio codec Adam Thomson
2015-11-20 15:53   ` Rob Herring
2015-11-21 12:52     ` Mark Brown
2015-11-23 11:51     ` Opensource [Adam Thomson]
2015-11-19 13:59 ` [PATCH v3 2/2] ASoC: codecs: Add da7218 codec driver Adam Thomson
2015-11-19 18:29   ` kbuild test robot [this message]

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=201511200245.PvuOfna4%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=Adam.Thomson.Opensource@diasemi.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kbuild-all@01.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=perex@perex.cz \
    --cc=robh+dt@kernel.org \
    --cc=support.opensource@diasemi.com \
    --cc=tiwai@suse.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®