Hi Simran,

[auto build test WARNING on asoc/for-next -- if it's inappropriate base, please 
suggest rules for selecting the more suitable base]

url:    
https://github.com/0day-ci/linux/commits/Simran-Rai/Add-audio-support-for-Broadcom-Cygnus-SoC/20151031-025721
config: tile-allmodconfig (attached as .config)
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All warnings (new ones prefixed by >>):

   sound/soc/bcm/cygnus-pcm.c: In function 'cygnus_pcm_preallocate_dma_buffer':
>> sound/soc/bcm/cygnus-pcm.c:785:2: warning: format '%x' expects argument of 
>> type 'unsigned int', but argument 5 has type 'size_t' [-Wformat]

vim +785 sound/soc/bcm/cygnus-pcm.c

   769  
   770  static int cygnus_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int 
stream)
   771  {
   772          struct snd_pcm_substream *substream = 
pcm->streams[stream].substream;
   773          struct snd_soc_pcm_runtime *rtd = substream->private_data;
   774          struct snd_dma_buffer *buf = &substream->dma_buffer;
   775          size_t size;
   776  
   777          size = cygnus_pcm_hw.buffer_bytes_max;
   778  
   779          buf->dev.type = SNDRV_DMA_TYPE_DEV;
   780          buf->dev.dev = pcm->card->dev;
   781          buf->private_data = NULL;
   782          buf->area = dma_alloc_coherent(pcm->card->dev, size,
   783                          &buf->addr, GFP_KERNEL);
   784  
 > 785          dev_dbg(rtd->cpu_dai->dev, "%s: size 0x%x @ 0x%p\n",
   786                                  __func__, size, buf->area);
   787  
   788          if (!buf->area) {
   789                  dev_err(rtd->cpu_dai->dev, "%s: dma_alloc failed\n", 
__func__);
   790                  return -ENOMEM;
   791          }
   792          buf->bytes = size;
   793  

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

Attachment: .config.gz
Description: Binary data

Reply via email to