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: [PATCH] ASoC: snd_soc_dai_set_fmt add substream independence.
Date: Sat, 28 Mar 2020 11:31:31 +0800	[thread overview]
Message-ID: <202003281116.f55jvO89%lkp@intel.com> (raw)
In-Reply-To: <20200328015831.6230-1-flatmax@flatmax.org>

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

Hi Matt,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on v5.6-rc7]
[cannot apply to asoc/for-next next-20200327]
[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/Matt-Flax/ASoC-snd_soc_dai_set_fmt-add-substream-independence/20200328-102100
base:    16fbf79b0f83bc752cee8589279f1ebfe57b3b6e
config: openrisc-randconfig-a001-20200327 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=openrisc 

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

All errors (new ones prefixed by >>):

>> sound/soc/codecs/adau1701.c:632:13: error: initialization of 'int (*)(struct snd_soc_dai *, unsigned int,  int)' from incompatible pointer type 'int (*)(struct snd_soc_dai *, unsigned int)' [-Werror=incompatible-pointer-types]
     632 |  .set_fmt = adau1701_set_dai_fmt,
         |             ^~~~~~~~~~~~~~~~~~~~
   sound/soc/codecs/adau1701.c:632:13: note: (near initialization for 'adau1701_dai_ops.set_fmt')
   cc1: some warnings being treated as errors
--
>> sound/soc/codecs/adau17x1.c:762:13: error: initialization of 'int (*)(struct snd_soc_dai *, unsigned int,  int)' from incompatible pointer type 'int (*)(struct snd_soc_dai *, unsigned int)' [-Werror=incompatible-pointer-types]
     762 |  .set_fmt = adau17x1_set_dai_fmt,
         |             ^~~~~~~~~~~~~~~~~~~~
   sound/soc/codecs/adau17x1.c:762:13: note: (near initialization for 'adau17x1_dai_ops.set_fmt')
   cc1: some warnings being treated as errors
--
>> sound/soc/codecs/adau7118.c:417:13: error: initialization of 'int (*)(struct snd_soc_dai *, unsigned int,  int)' from incompatible pointer type 'int (*)(struct snd_soc_dai *, unsigned int)' [-Werror=incompatible-pointer-types]
     417 |  .set_fmt = adau7118_set_fmt,
         |             ^~~~~~~~~~~~~~~~
   sound/soc/codecs/adau7118.c:417:13: note: (near initialization for 'adau7118_ops.set_fmt')
   cc1: some warnings being treated as errors
--
>> sound/soc/codecs/ak4104.c:153:13: error: initialization of 'int (*)(struct snd_soc_dai *, unsigned int,  int)' from incompatible pointer type 'int (*)(struct snd_soc_dai *, unsigned int)' [-Werror=incompatible-pointer-types]
     153 |  .set_fmt = ak4104_set_dai_fmt,
         |             ^~~~~~~~~~~~~~~~~~
   sound/soc/codecs/ak4104.c:153:13: note: (near initialization for 'ak4101_dai_ops.set_fmt')
   cc1: some warnings being treated as errors
--
>> sound/soc/codecs/ak4458.c:497:13: error: initialization of 'int (*)(struct snd_soc_dai *, unsigned int,  int)' from incompatible pointer type 'int (*)(struct snd_soc_dai *, unsigned int)' [-Werror=incompatible-pointer-types]
     497 |  .set_fmt = ak4458_set_dai_fmt,
         |             ^~~~~~~~~~~~~~~~~~
   sound/soc/codecs/ak4458.c:497:13: note: (near initialization for 'ak4458_dai_ops.set_fmt')
   cc1: some warnings being treated as errors
--
>> sound/soc/codecs/ak4613.c:546:13: error: initialization of 'int (*)(struct snd_soc_dai *, unsigned int,  int)' from incompatible pointer type 'int (*)(struct snd_soc_dai *, unsigned int)' [-Werror=incompatible-pointer-types]
     546 |  .set_fmt = ak4613_dai_set_fmt,
         |             ^~~~~~~~~~~~~~~~~~
   sound/soc/codecs/ak4613.c:546:13: note: (near initialization for 'ak4613_dai_ops.set_fmt')
   cc1: some warnings being treated as errors
--
>> sound/soc/codecs/ak4642.c:500:13: error: initialization of 'int (*)(struct snd_soc_dai *, unsigned int,  int)' from incompatible pointer type 'int (*)(struct snd_soc_dai *, unsigned int)' [-Werror=incompatible-pointer-types]
     500 |  .set_fmt = ak4642_dai_set_fmt,
         |             ^~~~~~~~~~~~~~~~~~
   sound/soc/codecs/ak4642.c:500:13: note: (near initialization for 'ak4642_dai_ops.set_fmt')
   cc1: some warnings being treated as errors
--
>> sound/soc/codecs/alc5623.c:833:14: error: initialization of 'int (*)(struct snd_soc_dai *, unsigned int,  int)' from incompatible pointer type 'int (*)(struct snd_soc_dai *, unsigned int)' [-Werror=incompatible-pointer-types]
     833 |   .set_fmt = alc5623_set_dai_fmt,
         |              ^~~~~~~~~~~~~~~~~~~
   sound/soc/codecs/alc5623.c:833:14: note: (near initialization for 'alc5623_dai_ops.set_fmt')
   cc1: some warnings being treated as errors
--
>> sound/soc/codecs/cs35l33.c:671:13: error: initialization of 'int (*)(struct snd_soc_dai *, unsigned int,  int)' from incompatible pointer type 'int (*)(struct snd_soc_dai *, unsigned int)' [-Werror=incompatible-pointer-types]
     671 |  .set_fmt = cs35l33_set_dai_fmt,
         |             ^~~~~~~~~~~~~~~~~~~
   sound/soc/codecs/cs35l33.c:671:13: note: (near initialization for 'cs35l33_ops.set_fmt')
   cc1: some warnings being treated as errors
--
>> sound/soc/codecs/cs35l34.c:645:13: error: initialization of 'int (*)(struct snd_soc_dai *, unsigned int,  int)' from incompatible pointer type 'int (*)(struct snd_soc_dai *, unsigned int)' [-Werror=incompatible-pointer-types]
     645 |  .set_fmt = cs35l34_set_dai_fmt,
         |             ^~~~~~~~~~~~~~~~~~~
   sound/soc/codecs/cs35l34.c:645:13: note: (near initialization for 'cs35l34_ops.set_fmt')
   cc1: some warnings being treated as errors
--
>> sound/soc/codecs/cs42l42.c:910:13: error: initialization of 'int (*)(struct snd_soc_dai *, unsigned int,  int)' from incompatible pointer type 'int (*)(struct snd_soc_dai *, unsigned int)' [-Werror=incompatible-pointer-types]
     910 |  .set_fmt = cs42l42_set_dai_fmt,
         |             ^~~~~~~~~~~~~~~~~~~
   sound/soc/codecs/cs42l42.c:910:13: note: (near initialization for 'cs42l42_ops.set_fmt')
   cc1: some warnings being treated as errors
..

vim +632 sound/soc/codecs/adau1701.c

d48b088e3ec45e Lars-Peter Clausen 2014-11-19  624  
631ed8a2134dae Lars-Peter Clausen 2011-06-13  625  #define ADAU1701_RATES (SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_96000 | \
631ed8a2134dae Lars-Peter Clausen 2011-06-13  626  	SNDRV_PCM_RATE_192000)
631ed8a2134dae Lars-Peter Clausen 2011-06-13  627  
631ed8a2134dae Lars-Peter Clausen 2011-06-13  628  #define ADAU1701_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
631ed8a2134dae Lars-Peter Clausen 2011-06-13  629  	SNDRV_PCM_FMTBIT_S24_LE)
631ed8a2134dae Lars-Peter Clausen 2011-06-13  630  
890754a878c887 Lars-Peter Clausen 2011-11-23  631  static const struct snd_soc_dai_ops adau1701_dai_ops = {
631ed8a2134dae Lars-Peter Clausen 2011-06-13 @632  	.set_fmt	= adau1701_set_dai_fmt,
631ed8a2134dae Lars-Peter Clausen 2011-06-13  633  	.hw_params	= adau1701_hw_params,
631ed8a2134dae Lars-Peter Clausen 2011-06-13  634  	.digital_mute	= adau1701_digital_mute,
d48b088e3ec45e Lars-Peter Clausen 2014-11-19  635  	.startup	= adau1701_startup,
631ed8a2134dae Lars-Peter Clausen 2011-06-13  636  };
631ed8a2134dae Lars-Peter Clausen 2011-06-13  637  

:::::: The code at line 632 was first introduced by commit
:::::: 631ed8a2134dae17d9e17f3c35c7290720f85199 ASoC: Add ADAU1701 codec driver

:::::: TO: Lars-Peter Clausen <lars@metafoo.de>
:::::: CC: Mark Brown <broonie@opensource.wolfsonmicro.com>

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

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

  reply	other threads:[~2020-03-28  3:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-28  1:58 [PATCH] ASoC: snd_soc_dai_set_fmt add substream independence Matt Flax
2020-03-28  3:31 ` kbuild test robot [this message]
2020-03-28  3:44 ` kbuild test robot
2020-03-30 10:32 ` Mark Brown
2020-03-30 12:28   ` Matt Flax
2020-03-30 16:31     ` Mark Brown
2020-03-31  7:40       ` Matt Flax
2020-03-31 11:13         ` Mark Brown
2020-03-31 11:52           ` Matt Flax

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=202003281116.f55jvO89%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.