All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
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	[thread overview]
Message-ID: <201910262247.QBqrvS2K%lkp@intel.com> (raw)
In-Reply-To: <20191023090331.10531-4-kai.vehmanen@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 2046 bytes --]

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 help
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/37406982]

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 for-next
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-dirty
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> sound/soc/intel/boards/hda_dsp_common.c:26:76: sparse: sparse: Using plain integer as NULL pointer
   sound/soc/intel/boards/hda_dsp_common.c:34:16: sparse: sparse: Using plain 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 = 0;
    23	
    24		for_each_card_rtds(card, rtd) {
    25			spcm = rtd->pcm ?
  > 26				rtd->pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].pcm : 0;
    27			if (spcm && strstr(spcm->id, "HDMI")) {
    28				if (i == hdmi_idx)
    29					return rtd->pcm;
    30				++i;
    31			}
    32		}
    33	
    34		return 0;
    35	}
    36	

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

  reply	other threads:[~2019-10-26 14:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-23  9:03 [alsa-devel] [PATCH v7 0/9] adapt SOF to use snd-hda-codec-hdmi Kai Vehmanen
2019-10-23  9:03 ` [alsa-devel] [PATCH v7 1/9] ALSA: hda/hdmi - implement mst_no_extra_pcms flag Kai Vehmanen
2019-10-23  9:03 ` [alsa-devel] [PATCH v7 2/9] ASoC: hdac_hda: add support for HDMI/DP as a HDA codec Kai Vehmanen
2019-10-23  9:03 ` [alsa-devel] [PATCH v7 3/9] ASoC: Intel: skl-hda-dsp-generic: use snd-hda-codec-hdmi Kai Vehmanen
2019-10-26 14:45   ` kbuild test robot [this message]
2019-10-23  9:03 ` [alsa-devel] [PATCH v7 4/9] ASoC: Intel: skl-hda-dsp-generic: fix include guard name Kai Vehmanen
2019-10-23  9:03 ` [alsa-devel] [PATCH v7 5/9] ASoC: SOF: Intel: add support for snd-hda-codec-hdmi Kai Vehmanen
2019-10-28 16:54   ` Takashi Iwai
2019-10-23  9:03 ` [alsa-devel] [PATCH v7 6/9] ASoC: Intel: bxt-da7219-max98357a: common hdmi codec support Kai Vehmanen
2019-10-28 16:58   ` Takashi Iwai
2019-10-28 17:24     ` Pierre-Louis Bossart
2019-10-28 17:55       ` Kai Vehmanen
2019-10-28 17:33     ` Kai Vehmanen
2019-10-28 18:04       ` Takashi Iwai
2019-10-23  9:03 ` [alsa-devel] [PATCH v7 7/9] ASoC: Intel: glk_rt5682_max98357a: " Kai Vehmanen
2019-10-23  9:03 ` [alsa-devel] [PATCH v7 8/9] ASoC: intel: sof_rt5682: " Kai Vehmanen
2019-10-23  9:03 ` [alsa-devel] [PATCH v7 9/9] ASoC: Intel: bxt_rt298: " Kai Vehmanen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201910262247.QBqrvS2K%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.