tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/au1x head: fd63542fc5492b86158dbd53ce5de764f171b1b6 commit: fd63542fc5492b86158dbd53ce5de764f171b1b6 [2/2] ASoC: au1x: psc-i2s: Convert to use devm_ioremap_resource config: mips-db1xxx_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/ma... -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout fd63542fc5492b86158dbd53ce5de764f171b1b6 # save the attached .config to linux build tree make.cross ARCH=mips
All warnings (new ones prefixed by >>):
sound/soc/au1x/psc-i2s.c: In function 'au1xpsc_i2s_drvprobe':
sound/soc/au1x/psc-i2s.c:299:6: warning: unused variable 'ret' [-Wunused-variable]
int ret; ^
vim +/ret +299 sound/soc/au1x/psc-i2s.c
0f83d639 Manuel Lauss 2009-10-31 283 .rates = AU1XPSC_I2S_RATES, 0f83d639 Manuel Lauss 2009-10-31 284 .formats = AU1XPSC_I2S_FMTS, 0f83d639 Manuel Lauss 2009-10-31 285 .channels_min = 2, 0f83d639 Manuel Lauss 2009-10-31 286 .channels_max = 8, /* 2 without external help */ 0f83d639 Manuel Lauss 2009-10-31 287 }, 0f83d639 Manuel Lauss 2009-10-31 288 .ops = &au1xpsc_i2s_dai_ops, 0f83d639 Manuel Lauss 2009-10-31 289 }; 0f83d639 Manuel Lauss 2009-10-31 290 4edf87f5 Kuninori Morimoto 2013-03-21 291 static const struct snd_soc_component_driver au1xpsc_i2s_component = { 4edf87f5 Kuninori Morimoto 2013-03-21 292 .name = "au1xpsc-i2s", 4edf87f5 Kuninori Morimoto 2013-03-21 293 }; 4edf87f5 Kuninori Morimoto 2013-03-21 294 5c658be0 Bill Pemberton 2012-12-07 295 static int au1xpsc_i2s_drvprobe(struct platform_device *pdev) 0f83d639 Manuel Lauss 2009-10-31 296 { 226d0f22 Julia Lawall 2011-10-18 297 struct resource *iores, *dmares; 4a161d23 Manuel Lauss 2008-07-09 298 unsigned long sel; 4a161d23 Manuel Lauss 2008-07-09 @299 int ret; 0f83d639 Manuel Lauss 2009-10-31 300 struct au1xpsc_audio_data *wd; 4a161d23 Manuel Lauss 2008-07-09 301 aa4079c1 Julia Lawall 2011-12-29 302 wd = devm_kzalloc(&pdev->dev, sizeof(struct au1xpsc_audio_data), aa4079c1 Julia Lawall 2011-12-29 303 GFP_KERNEL); 0f83d639 Manuel Lauss 2009-10-31 304 if (!wd) 4a161d23 Manuel Lauss 2008-07-09 305 return -ENOMEM; 4a161d23 Manuel Lauss 2008-07-09 306 226d0f22 Julia Lawall 2011-10-18 307 iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
:::::: The code at line 299 was first introduced by commit :::::: 4a161d235b68eb7234f40106560c488a1bdb3851 ALSA: ASoC: Au12x0/Au1550 PSC Audio support
:::::: TO: Manuel Lauss mano@roarinelk.homelinux.net :::::: CC: Jaroslav Kysela perex@perex.cz
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation