All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 8324/10629] sound/soc/bcm/bcm63xx-pcm-whistler.c:184:6: warning: cast to pointer from integer of different size
@ 2020-03-21 19:26 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-21 19:26 UTC (permalink / raw)
  To: kbuild-all

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

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

only message in thread, other threads:[~2020-03-21 19:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-21 19:26 [linux-next:master 8324/10629] sound/soc/bcm/bcm63xx-pcm-whistler.c:184:6: warning: cast to pointer from integer of different size 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.