linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Trevor Wu <trevor.wu@mediatek.com>,
	broonie@kernel.org, tiwai@suse.com, robh+dt@kernel.org,
	matthias.bgg@gmail.com
Cc: kbuild-all@lists.01.org, trevor.wu@mediatek.com,
	alsa-devel@alsa-project.org, linux-mediatek@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 7/8] ASoC: mediatek: mt8195: add machine driver with mt6359, rt1019 and rt5682
Date: Mon, 21 Jun 2021 14:44:08 +0800	[thread overview]
Message-ID: <202106211428.jAkwmTen-lkp@intel.com> (raw)
In-Reply-To: <20210617054740.8081-8-trevor.wu@mediatek.com>

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

Hi Trevor,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on asoc/for-next]
[also build test WARNING on spi/for-next sound/for-next v5.13-rc7 next-20210618]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Trevor-Wu/ASoC-mediatek-Add-support-for-MT8195-SoC/20210617-135036
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: microblaze-randconfig-s031-20210621 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://github.com/0day-ci/linux/commit/51519ee9a95b7abe7cce0c940f7b24e27113d23a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Trevor-Wu/ASoC-mediatek-Add-support-for-MT8195-SoC/20210617-135036
        git checkout 51519ee9a95b7abe7cce0c940f7b24e27113d23a
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=microblaze 

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


sparse warnings: (new ones prefixed by >>)
>> sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c:320:33: sparse: sparse: incorrect type in argument 3 (different base types) @@     expected unsigned int to @@     got restricted snd_pcm_format_t [usertype] @@
   sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c:320:33: sparse:     expected unsigned int to
   sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c:320:33: sparse:     got restricted snd_pcm_format_t [usertype]
   sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c:349:33: sparse: sparse: incorrect type in argument 3 (different base types) @@     expected unsigned int to @@     got restricted snd_pcm_format_t [usertype] @@
   sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c:349:33: sparse:     expected unsigned int to
   sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c:349:33: sparse:     got restricted snd_pcm_format_t [usertype]

vim +320 sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c

   314	
   315	static int mt8195_etdm_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
   316					       struct snd_pcm_hw_params *params)
   317	{
   318		/* fix BE i2s format to 32bit, clean param mask first */
   319		snd_mask_reset_range(hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT),
 > 320				     0, SNDRV_PCM_FORMAT_LAST);
   321	
   322		params_set_format(params, SNDRV_PCM_FORMAT_S24_LE);
   323	
   324		return 0;
   325	}
   326	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29397 bytes --]

  reply	other threads:[~2021-06-21  6:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-17  5:47 [PATCH 0/8] ASoC: mediatek: Add support for MT8195 SoC Trevor Wu
2021-06-17  5:47 ` [PATCH 1/8] ASoC: mediatek: mt8195: update mediatek common driver Trevor Wu
2021-06-17  5:47 ` [PATCH 2/8] ASoC: mediatek: mt8195: support etdm in platform driver Trevor Wu
2021-06-17  5:47 ` [PATCH 3/8] ASoC: mediatek: mt8195: support adda " Trevor Wu
2021-06-17  5:47 ` [PATCH 4/8] ASoC: mediatek: mt8195: support pcm " Trevor Wu
2021-06-17  5:47 ` [PATCH 5/8] ASoC: mediatek: mt8195: add " Trevor Wu
2021-06-18  7:24   ` kernel test robot
2021-06-17  5:47 ` [PATCH 6/8] dt-bindings: mediatek: mt8195: add audio afe document Trevor Wu
2021-06-17 21:26   ` Rob Herring
2021-06-23  8:10     ` Trevor Wu
2021-06-17  5:47 ` [PATCH 7/8] ASoC: mediatek: mt8195: add machine driver with mt6359, rt1019 and rt5682 Trevor Wu
2021-06-21  6:44   ` kernel test robot [this message]
2021-06-17  5:47 ` [PATCH 8/8] dt-bindings: mediatek: mt8195: add mt8195-mt6359-rt1019-rt5682 document Trevor Wu
2021-06-17 21:26   ` Rob Herring

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=202106211428.jAkwmTen-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=tiwai@suse.com \
    --cc=trevor.wu@mediatek.com \
    --subject='Re: [PATCH 7/8] ASoC: mediatek: mt8195: add machine driver with mt6359, rt1019 and rt5682' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).