All of lore.kernel.org
 help / color / mirror / Atom feed
* [asoc:topic/intel 36/41] sound/soc/intel/skylake/skl-sst-cldma.c:141:1-3: ERROR: test of a variable/field address
@ 2015-11-20  9:59 kbuild test robot
  2015-11-20 10:38 ` Vinod Koul
  2015-11-22 10:11 ` Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: kbuild test robot @ 2015-11-20  9:59 UTC (permalink / raw)
  To: Jeeja KP; +Cc: Vinod Koul, alsa-devel, Mark Brown, kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/intel
head:   314038e40a62c7cdfc07aad0fe14dcd4383bc34d
commit: ae395937ab95b8c62806af6a17a6cdfe6086401e [36/41] ASoC: Intel: Skylake: Fix cleanup of dma buffer


coccinelle warnings: (new ones prefixed by >>)

>> sound/soc/intel/skylake/skl-sst-cldma.c:141:1-3: ERROR: test of a variable/field address
   sound/soc/intel/skylake/skl-sst-cldma.c:143:1-3: ERROR: test of a variable/field address

vim +141 sound/soc/intel/skylake/skl-sst-cldma.c

   125	
   126		sst_dsp_shim_update_bits(ctx, SKL_ADSP_REG_CL_SD_CTL,
   127					CL_SD_CTL_IOCE_MASK, CL_SD_CTL_IOCE(0));
   128		sst_dsp_shim_update_bits(ctx, SKL_ADSP_REG_CL_SD_CTL,
   129					CL_SD_CTL_FEIE_MASK, CL_SD_CTL_FEIE(0));
   130		sst_dsp_shim_update_bits(ctx, SKL_ADSP_REG_CL_SD_CTL,
   131					CL_SD_CTL_DEIE_MASK, CL_SD_CTL_DEIE(0));
   132		sst_dsp_shim_update_bits(ctx, SKL_ADSP_REG_CL_SD_CTL,
   133					CL_SD_CTL_STRM_MASK, CL_SD_CTL_STRM(0));
   134	
   135		sst_dsp_shim_write(ctx, SKL_ADSP_REG_CL_SD_BDLPL, CL_SD_BDLPLBA(0));
   136		sst_dsp_shim_write(ctx, SKL_ADSP_REG_CL_SD_BDLPU, 0);
   137	
   138		sst_dsp_shim_write(ctx, SKL_ADSP_REG_CL_SD_CBL, 0);
   139		sst_dsp_shim_write(ctx, SKL_ADSP_REG_CL_SD_LVI, 0);
   140	
 > 141		if (&ctx->cl_dev.dmab_data)
   142			ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_data);
   143		if (&ctx->cl_dev.dmab_bdl)
   144			ctx->dsp_ops.free_dma_buf(ctx->dev, &ctx->cl_dev.dmab_bdl);
   145	}
   146	
   147	static int skl_cldma_wait_interruptible(struct sst_dsp *ctx)
   148	{
   149		int ret = 0;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [asoc:topic/intel 36/41] sound/soc/intel/skylake/skl-sst-cldma.c:141:1-3: ERROR: test of a variable/field address
  2015-11-20  9:59 [asoc:topic/intel 36/41] sound/soc/intel/skylake/skl-sst-cldma.c:141:1-3: ERROR: test of a variable/field address kbuild test robot
@ 2015-11-20 10:38 ` Vinod Koul
  2015-11-22 10:11 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2015-11-20 10:38 UTC (permalink / raw)
  To: kbuild test robot; +Cc: Jeeja KP, alsa-devel, Mark Brown, kbuild-all

On Fri, Nov 20, 2015 at 05:59:04PM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/intel
> head:   314038e40a62c7cdfc07aad0fe14dcd4383bc34d
> commit: ae395937ab95b8c62806af6a17a6cdfe6086401e [36/41] ASoC: Intel: Skylake: Fix cleanup of dma buffer
> 
> 
Thanks for the report,

Will send a fix for this shortly

-- 
~Vinod

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [asoc:topic/intel 36/41] sound/soc/intel/skylake/skl-sst-cldma.c:141:1-3: ERROR: test of a variable/field address
  2015-11-20  9:59 [asoc:topic/intel 36/41] sound/soc/intel/skylake/skl-sst-cldma.c:141:1-3: ERROR: test of a variable/field address kbuild test robot
  2015-11-20 10:38 ` Vinod Koul
@ 2015-11-22 10:11 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2015-11-22 10:11 UTC (permalink / raw)
  To: kbuild test robot; +Cc: Jeeja KP, alsa-devel, Mark Brown, kbuild-all

On Fri, Nov 20, 2015 at 05:59:04PM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/intel
> head:   314038e40a62c7cdfc07aad0fe14dcd4383bc34d
> commit: ae395937ab95b8c62806af6a17a6cdfe6086401e [36/41] ASoC: Intel: Skylake: Fix cleanup of dma buffer
> 
> 
> coccinelle warnings: (new ones prefixed by >>)
> 
> >> sound/soc/intel/skylake/skl-sst-cldma.c:141:1-3: ERROR: test of a variable/field address
>    sound/soc/intel/skylake/skl-sst-cldma.c:143:1-3: ERROR: test of a variable/field address

Yes these are field address so should not be checked, will send a fix

-- 
~Vinod

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-22 10:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-20  9:59 [asoc:topic/intel 36/41] sound/soc/intel/skylake/skl-sst-cldma.c:141:1-3: ERROR: test of a variable/field address kbuild test robot
2015-11-20 10:38 ` Vinod Koul
2015-11-22 10:11 ` Vinod Koul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.