lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 31 Oct 2015 07:20:17 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Simran Rai <ssimran@...adcom.com>
Cc:	kbuild-all@...org, Rob Herring <robh+dt@...nel.org>,
	Pawel Moll <pawel.moll@....com>,
	Mark Rutland <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	Kumar Gala <galak@...eaurora.org>, Ray Jui <rjui@...adcom.com>,
	Scott Branden <sbranden@...adcom.com>,
	Liam Girdwood <lgirdwood@...il.com>,
	Mark Brown <broonie@...nel.org>,
	Jaroslav Kysela <perex@...ex.cz>,
	Takashi Iwai <tiwai@...e.com>,
	Simran Rai <ssimran@...adcom.com>,
	Lori Hikichi <lhikichi@...adcom.com>,
	devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
	bcm-kernel-feedback-list@...adcom.com,
	linux-kernel@...r.kernel.org,
	Arun Parameswaran <arunp@...adcom.com>,
	alsa-devel@...a-project.org
Subject: Re: [PATCH 2/2] sound: soc: Add Cygnus audio driver

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

Download attachment ".config.gz" of type "application/octet-stream" (41426 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ