From: kernel test robot <lkp@intel.com>
To: Raphael-Xu <13691752556@139.com>, broonie@kernel.org
Cc: alsa-devel@alsa-project.org, kbuild-all@lists.01.org,
shenghao-ding@ti.com, navada@ti.com, raphael-xu@ti.com,
Raphael-Xu <13691752556@139.com>
Subject: Re: [PATCH v5 4/4] update tas27xx.c to support either TAS2764 or TAS2780
Date: Thu, 31 Mar 2022 01:35:26 +0800 [thread overview]
Message-ID: <202203310140.Sc6ERGdm-lkp@intel.com> (raw)
In-Reply-To: <20220330144526.498-4-13691752556@139.com>
Hi Raphael-Xu,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on broonie-sound/for-next]
[also build test WARNING on v5.17 next-20220330]
[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/intel-lab-lkp/linux/commits/Raphael-Xu/rename-tas2764-to-tas27xx/20220330-224947
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20220331/202203310140.Sc6ERGdm-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/5e87128eec39d187eaf11069178b39d935600c2e
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Raphael-Xu/rename-tas2764-to-tas27xx/20220330-224947
git checkout 5e87128eec39d187eaf11069178b39d935600c2e
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash sound/soc/codecs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
sound/soc/codecs/tas27xx.c:624:18: error: 'struct snd_soc_dai_driver' has no member named 'symmetric_rates'; did you mean 'symmetric_rate'?
624 | .symmetric_rates = 1,
| ^~~~~~~~~~~~~~~
| symmetric_rate
>> sound/soc/codecs/tas27xx.c:624:36: warning: initialization of 'const struct snd_soc_cdai_ops *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
624 | .symmetric_rates = 1,
| ^
sound/soc/codecs/tas27xx.c:624:36: note: (near initialization for 'tas27xx_dai_driver[0].cops')
vim +624 sound/soc/codecs/tas27xx.c
598
599 #define TAS27XX_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
600 SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)
601
602 #define TAS27XX_RATES (SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |\
603 SNDRV_PCM_RATE_96000 | SNDRV_PCM_RATE_88200)
604
605 static struct snd_soc_dai_driver tas27xx_dai_driver[] = {
606 {
607 .name = "tas27xx ASI1",
608 .id = 0,
609 .playback = {
610 .stream_name = "ASI1 Playback",
611 .channels_min = 2,
612 .channels_max = 2,
613 .rates = TAS27XX_RATES,
614 .formats = TAS27XX_FORMATS,
615 },
616 .capture = {
617 .stream_name = "ASI1 Capture",
618 .channels_min = 1,
619 .channels_max = 2,
620 .rates = TAS27XX_RATES,
621 .formats = TAS27XX_FORMATS,
622 },
623 .ops = &tas27xx_dai_ops,
> 624 .symmetric_rates = 1,
625 },
626 };
627
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-03-30 17:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-30 14:45 [PATCH v5 1/4] rename tas2764 to tas27xx Raphael-Xu
2022-03-30 14:45 ` [PATCH v5 2/4] update tas27xx.h to support either TAS2764 or TAS2780 Raphael-Xu
2022-03-31 12:12 ` Mark Brown
2022-03-30 14:45 ` [PATCH v5 3/4] rename variables from tas2764 to tas27xx Raphael-Xu
2022-03-30 14:45 ` [PATCH v5 4/4] update tas27xx.c to support either TAS2764 or TAS2780 Raphael-Xu
2022-03-30 17:25 ` Amadeusz Sławiński
2022-03-30 17:35 ` kernel test robot [this message]
2022-03-30 18:36 ` kernel test robot
2022-03-30 18:36 ` kernel test robot
2022-03-31 3:59 ` kernel test robot
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=202203310140.Sc6ERGdm-lkp@intel.com \
--to=lkp@intel.com \
--cc=13691752556@139.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=navada@ti.com \
--cc=raphael-xu@ti.com \
--cc=shenghao-ding@ti.com \
/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.