From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0170021141143522644==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: Re: [alsa-devel] [PATCH v7 3/9] ASoC: Intel: skl-hda-dsp-generic: use snd-hda-codec-hdmi Date: Sat, 26 Oct 2019 22:45:21 +0800 Message-ID: <201910262247.QBqrvS2K%lkp@intel.com> In-Reply-To: <20191023090331.10531-4-kai.vehmanen@linux.intel.com> List-Id: --===============0170021141143522644== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Kai, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on asoc/for-next] [cannot apply to v5.4-rc4 next-20191025] [if your patch is applied to the wrong git tree, please drop us a note to h= elp improve the system. BTW, we also suggest to use '--base' option to specify = the base tree in git format-patch, please see https://stackoverflow.com/a/37406= 982] url: https://github.com/0day-ci/linux/commits/Kai-Vehmanen/adapt-SOF-to-= use-snd-hda-codec-hdmi/20191025-061501 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git f= or-next reproduce: # apt-get install sparse # sparse version: v0.6.1-dirty make ARCH=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) >> sound/soc/intel/boards/hda_dsp_common.c:26:76: sparse: sparse: Using pla= in integer as NULL pointer sound/soc/intel/boards/hda_dsp_common.c:34:16: sparse: sparse: Using pla= in integer as NULL pointer vim +26 sound/soc/intel/boards/hda_dsp_common.c 12 = 13 /* 14 * Search card topology and return PCM device number 15 * matching Nth HDMI device (zero-based index). 16 */ 17 struct snd_pcm *hda_dsp_hdmi_pcm_handle(struct snd_soc_card *card, 18 int hdmi_idx) 19 { 20 struct snd_soc_pcm_runtime *rtd; 21 struct snd_pcm *spcm; 22 int i =3D 0; 23 = 24 for_each_card_rtds(card, rtd) { 25 spcm =3D rtd->pcm ? > 26 rtd->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].pcm : 0; 27 if (spcm && strstr(spcm->id, "HDMI")) { 28 if (i =3D=3D hdmi_idx) 29 return rtd->pcm; 30 ++i; 31 } 32 } 33 = 34 return 0; 35 } 36 = --- 0-DAY kernel test infrastructure Open Source Technology Cent= er https://lists.01.org/pipermail/kbuild-all Intel Corporati= on --===============0170021141143522644==--