lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202106211428.jAkwmTen-lkp@intel.com>
Date:   Mon, 21 Jun 2021 14:44:08 +0800
From:   kernel test robot <lkp@...el.com>
To:     Trevor Wu <trevor.wu@...iatek.com>, broonie@...nel.org,
        tiwai@...e.com, robh+dt@...nel.org, matthias.bgg@...il.com
Cc:     kbuild-all@...ts.01.org, trevor.wu@...iatek.com,
        alsa-devel@...a-project.org, linux-mediatek@...ts.infradead.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        devicetree@...r.kernel.org
Subject: Re: [PATCH 7/8] ASoC: mediatek: mt8195: add machine driver with
 mt6359, rt1019 and rt5682

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (29397 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ