From: Kuninori Morimoto Subject: Re: [PATCH 1/2 v2][resend] ASoC: rsnd: Request/Release DMA channel each time Date: Mon, 14 Nov 2016 03:57:17 +0000 Message-ID: <87polyk941.wl-kuninori.morimoto.gx@renesas.com> References: <871syelupe.wl-kuninori.morimoto.gx@renesas.com> <201611141126.6FOXkqB2%fengguang.wu@intel.com> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from relmlie4.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by alsa0.perex.cz (Postfix) with ESMTP id CA403266ABD for ; Mon, 14 Nov 2016 04:57:24 +0100 (CET) In-Reply-To: <201611141126.6FOXkqB2%fengguang.wu@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: Linux-ALSA , Simon , Laurent List-Id: alsa-devel@alsa-project.org Hi Mark I will fixup and resend this patch, again > 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