Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: lkp@intel.com (kbuild test robot)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] sound: soc: Add Cygnus audio driver
Date: Sat, 31 Oct 2015 07:20:17 +0800	[thread overview]
Message-ID: <201510310722.jTEbgeBu%fengguang.wu@intel.com> (raw)
In-Reply-To: <1446231297-10648-3-git-send-email-ssimran@broadcom.com>

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 41426 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20151031/87e1c47d/attachment-0001.obj>

  parent reply	other threads:[~2015-10-30 23:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-30 18:54 [PATCH 0/2] Add audio support for Broadcom Cygnus SoC Simran Rai
2015-10-30 18:54 ` [PATCH 1/2] dt-bindings: sound: Add DT bindings for Broadcom Cygnus audio Simran Rai
2015-10-30 18:54 ` [PATCH 2/2] sound: soc: Add Cygnus audio driver Simran Rai
2015-10-30 19:59   ` kbuild test robot
2015-10-30 23:20   ` kbuild test robot [this message]
2015-10-30 23:28     ` Arnd Bergmann
2015-10-30 23:36       ` simran rai

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=201510310722.jTEbgeBu%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox