[alsa-devel] [PATCH v3 1/2] ASoC: codecs: Add support for PCM1789

kbuild test robot lkp at intel.com
Sat Mar 17 12:19:51 CET 2018


Hi Mylène,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on v4.16-rc4]
[also build test WARNING on next-20180316]
[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/Myl-ne-Josserand/ASoC-codecs-Add-support-for-PCM1789/20180317-174449


coccinelle warnings: (new ones prefixed by >>)

>> sound/soc/codecs/pcm1789.c:265:1-3: ERROR: test of a variable/field address

vim +265 sound/soc/codecs/pcm1789.c

   260	
   261	int pcm1789_common_exit(struct device *dev)
   262	{
   263		struct pcm1789_private *priv = dev_get_drvdata(dev);
   264	
 > 265		if (&priv->work)
   266			flush_work(&priv->work);
   267	
   268		return 0;
   269	}
   270	EXPORT_SYMBOL_GPL(pcm1789_common_exit);
   271	

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


More information about the Alsa-devel mailing list