Re: [PATCH 1/2 v2][resend] ASoC: rsnd: Request/Release DMA channel each time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kuninori,

[auto build test WARNING on asoc/for-next]
[also build test WARNING on next-20161111]
[cannot apply to v4.9-rc5]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Kuninori-Morimoto/ASoC-rsnd-DMA-power-fix-and-IOMMU-support/20161114-101334
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next


coccinelle warnings: (new ones prefixed by >>)

>> sound/soc/sh/rcar/dma.c:169:9-16: ERROR: PTR_ERR applied after initialization to constant on line 167

vim +169 sound/soc/sh/rcar/dma.c

   161		 * Let's call it under nolock_start
   162		 */
   163		dmaen->chan = rsnd_dmaen_request_channel(io,
   164							 dma->mod_from,
   165							 dma->mod_to);
   166		if (IS_ERR_OR_NULL(dmaen->chan)) {
 > 167			dmaen->chan = NULL;
   168			dev_err(dev, "can't get dma channel\n");
 > 169			return PTR_ERR(dmaen->chan);
   170		}
   171	
   172		return 0;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux