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]
Message-ID: <201510310354.D5Au86C0%fengguang.wu@intel.com>
Date:	Sat, 31 Oct 2015 03:59:46 +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: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from include/linux/printk.h:277:0,
                    from include/linux/kernel.h:13,
                    from include/linux/list.h:8,
                    from include/linux/wait.h:6,
                    from include/linux/fs.h:5,
                    from include/linux/debugfs.h:18,
                    from sound/soc/bcm/cygnus-pcm.c:13:
   sound/soc/bcm/cygnus-pcm.c: In function 'cygnus_pcm_preallocate_dma_buffer':
>> sound/soc/bcm/cygnus-pcm.c:785:29: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=]
     dev_dbg(rtd->cpu_dai->dev, "%s: size 0x%x @ 0x%p\n",
                                ^
   include/linux/dynamic_debug.h:86:39: note: in definition of macro 'dynamic_dev_dbg'
      __dynamic_dev_dbg(&descriptor, dev, fmt, \
                                          ^
>> sound/soc/bcm/cygnus-pcm.c:785:2: note: in expansion of macro 'dev_dbg'
     dev_dbg(rtd->cpu_dai->dev, "%s: size 0x%x @ 0x%p\n",
     ^

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" (50151 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ