All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 8324/10629] sound/soc/bcm/bcm63xx-pcm-whistler.c:184:6: warning: cast to pointer from integer of different size
Date: Sun, 22 Mar 2020 03:26:10 +0800	[thread overview]
Message-ID: <202003220306.PdexTYb8%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   d8f289c16fbb72e17b783175c1fb0942816264fd
commit: 88eb404ccc3efd300fb6fb6a9f8c99c1d5db3747 [8324/10629] ASoC: brcm: Add DSL/PON SoC audio driver
config: i386-randconfig-b003-20200322 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
        git checkout 88eb404ccc3efd300fb6fb6a9f8c99c1d5db3747
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   sound/soc/bcm/bcm63xx-pcm-whistler.c: In function 'bcm63xx_pcm_pointer':
>> sound/soc/bcm/bcm63xx-pcm-whistler.c:184:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     if ((void *)prtd->dma_addr_next == NULL)
         ^

vim +184 sound/soc/bcm/bcm63xx-pcm-whistler.c

   176	
   177	static snd_pcm_uframes_t
   178	bcm63xx_pcm_pointer(struct snd_soc_component *component,
   179			struct snd_pcm_substream *substream)
   180	{
   181		snd_pcm_uframes_t x;
   182		struct bcm63xx_runtime_data *prtd = substream->runtime->private_data;
   183	
 > 184		if ((void *)prtd->dma_addr_next == NULL)
   185			prtd->dma_addr_next = substream->runtime->dma_addr;
   186	
   187		x = bytes_to_frames(substream->runtime,
   188			prtd->dma_addr_next - substream->runtime->dma_addr);
   189	
   190		return x == substream->runtime->buffer_size ? 0 : x;
   191	}
   192	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

                 reply	other threads:[~2020-03-21 19:26 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=202003220306.PdexTYb8%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.