All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH 38/38] ASoC: soc-dai.h: remove unused call back functions
Date: Tue, 8 Aug 2023 03:56:20 +0800	[thread overview]
Message-ID: <202308080309.UN2MfAcQ-lkp@intel.com> (raw)
In-Reply-To: <87r0oms1iy.wl-kuninori.morimoto.gx@renesas.com>

Hi Kuninori,

kernel test robot noticed the following build errors:

[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on next-20230807]
[cannot apply to tegra/for-next sunxi/sunxi/for-next rockchip/for-next linus/master v6.5-rc5]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Kuninori-Morimoto/ASoC-ti-merge-DAI-call-back-functions-into-ops/20230802-095312
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
patch link:    https://lore.kernel.org/r/87r0oms1iy.wl-kuninori.morimoto.gx%40renesas.com
patch subject: [PATCH 38/38] ASoC: soc-dai.h: remove unused call back functions
config: mips-db1xxx_defconfig (https://download.01.org/0day-ci/archive/20230808/202308080309.UN2MfAcQ-lkp@intel.com/config)
compiler: mipsel-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230808/202308080309.UN2MfAcQ-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308080309.UN2MfAcQ-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   sound/soc/au1x/psc-ac97.c: In function 'au1xpsc_ac97_hw_params':
   sound/soc/au1x/psc-ac97.c:213:13: warning: variable 'chans' set but not used [-Wunused-but-set-variable]
     213 |         int chans, t, stype = substream->stream;
         |             ^~~~~
   sound/soc/au1x/psc-ac97.c: At top level:
>> sound/soc/au1x/psc-ac97.c:342:10: error: 'const struct snd_soc_dai_driver' has no member named 'probe'
     342 |         .probe                  = au1xpsc_ac97_probe,
         |          ^~~~~
>> sound/soc/au1x/psc-ac97.c:342:35: error: initialization of 'const char *' from incompatible pointer type 'int (*)(struct snd_soc_dai *)' [-Werror=incompatible-pointer-types]
     342 |         .probe                  = au1xpsc_ac97_probe,
         |                                   ^~~~~~~~~~~~~~~~~~
   sound/soc/au1x/psc-ac97.c:342:35: note: (near initialization for 'au1xpsc_ac97_dai_template.name')
   cc1: some warnings being treated as errors
--
>> sound/soc/au1x/ac97c.c:209:10: error: 'struct snd_soc_dai_driver' has no member named 'probe'
     209 |         .probe                  = au1xac97c_dai_probe,
         |          ^~~~~
>> sound/soc/au1x/ac97c.c:209:35: warning: initialization of 'unsigned int' from 'int (*)(struct snd_soc_dai *)' makes integer from pointer without a cast [-Wint-conversion]
     209 |         .probe                  = au1xac97c_dai_probe,
         |                                   ^~~~~~~~~~~~~~~~~~~
   sound/soc/au1x/ac97c.c:209:35: note: (near initialization for 'au1xac97c_dai_driver.id')


vim +342 sound/soc/au1x/psc-ac97.c

0f83d639d84c99 Manuel Lauss 2009-10-31  340  
ffc4fdbbe1b4be Manuel Lauss 2010-08-26  341  static const struct snd_soc_dai_driver au1xpsc_ac97_dai_template = {
0f83d639d84c99 Manuel Lauss 2009-10-31 @342  	.probe			= au1xpsc_ac97_probe,
0f83d639d84c99 Manuel Lauss 2009-10-31  343  	.playback = {
0f83d639d84c99 Manuel Lauss 2009-10-31  344  		.rates		= AC97_RATES,
0f83d639d84c99 Manuel Lauss 2009-10-31  345  		.formats	= AC97_FMTS,
0f83d639d84c99 Manuel Lauss 2009-10-31  346  		.channels_min	= 2,
0f83d639d84c99 Manuel Lauss 2009-10-31  347  		.channels_max	= 2,
0f83d639d84c99 Manuel Lauss 2009-10-31  348  	},
0f83d639d84c99 Manuel Lauss 2009-10-31  349  	.capture = {
0f83d639d84c99 Manuel Lauss 2009-10-31  350  		.rates		= AC97_RATES,
0f83d639d84c99 Manuel Lauss 2009-10-31  351  		.formats	= AC97_FMTS,
0f83d639d84c99 Manuel Lauss 2009-10-31  352  		.channels_min	= 2,
0f83d639d84c99 Manuel Lauss 2009-10-31  353  		.channels_max	= 2,
0f83d639d84c99 Manuel Lauss 2009-10-31  354  	},
0f83d639d84c99 Manuel Lauss 2009-10-31  355  	.ops = &au1xpsc_ac97_dai_ops,
0f83d639d84c99 Manuel Lauss 2009-10-31  356  };
0f83d639d84c99 Manuel Lauss 2009-10-31  357  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

      reply	other threads:[~2023-08-07 19:57 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-02  0:51 [PATCH 00/38] ASoC: merge DAI call back functions into ops Kuninori Morimoto
2023-08-02  0:52 ` [PATCH 01/38] ASoC: soc-dai.h: " Kuninori Morimoto
2023-08-02  0:52 ` [PATCH 02/38] ASoC: ti: " Kuninori Morimoto
2023-08-02  0:52 ` [PATCH 03/38] ASoC: adi: " Kuninori Morimoto
2023-08-02  0:52 ` [PATCH 04/38] " Kuninori Morimoto
2023-08-02  0:52 ` [PATCH 05/38] ASoC: amd: " Kuninori Morimoto
2023-08-02  0:52 ` [PATCH 06/38] ASoC: dwc: " Kuninori Morimoto
2023-08-03  5:48   ` Maxim Kochetkov
2023-08-02  0:53 ` [PATCH 07/38] ASoC: pxa: " Kuninori Morimoto
2023-08-02  0:53 ` [PATCH 08/38] ASoC: bcm: " Kuninori Morimoto
2023-08-02  0:53 ` [PATCH 09/38] ASoC: fsl: " Kuninori Morimoto
2023-08-02  0:53 ` [PATCH 10/38] ASoC: img: " Kuninori Morimoto
2023-08-02  0:53 ` [PATCH 11/38] ASoC: sof: " Kuninori Morimoto
2023-08-02  0:53 ` [PATCH 12/38] ASoC: sti: " Kuninori Morimoto
2023-08-02  0:54 ` [PATCH 13/38] ASoC: stm: " Kuninori Morimoto
2023-08-02  0:54 ` [PATCH 14/38] ASoC: pxa: " Kuninori Morimoto
2023-08-02  0:54 ` [PATCH 15/38] ASoC: rsnd: " Kuninori Morimoto
2023-08-02  0:54 ` [PATCH 16/38] ASoC: qcom: " Kuninori Morimoto
2023-08-02  0:54 ` [PATCH 17/38] ASoC: ux500: " Kuninori Morimoto
2023-08-02  0:54 ` [PATCH 18/38] ASoC: sunxi: " Kuninori Morimoto
2023-08-02 19:47   ` Jernej Škrabec
2023-08-02  0:55 ` [PATCH 19/38] ASoC: tegra: " Kuninori Morimoto
2023-08-02  0:55 ` [PATCH 20/38] ASoC: atmel: " Kuninori Morimoto
2023-08-02  0:55 ` [PATCH 21/38] ASoC: intel: " Kuninori Morimoto
2023-08-02  0:55 ` [PATCH 22/38] ASoC: meson: " Kuninori Morimoto
2023-08-02  0:55 ` [PATCH 23/38] ASoC: jz4740: " Kuninori Morimoto
2023-08-02  0:55 ` [PATCH 24/38] ASoC: cirrus: " Kuninori Morimoto
2023-08-02 12:25   ` Alexander Sverdlin
2023-08-02  0:56 ` [PATCH 25/38] ASoC: drm/vc4: " Kuninori Morimoto
2023-08-02  0:56 ` [PATCH 26/38] ASoC: samsung: " Kuninori Morimoto
2023-08-02  0:56 ` [PATCH 27/38] ASoC: mediatek: " Kuninori Morimoto
2023-08-02 12:25   ` Trevor Wu (吳文良)
2023-08-02 23:12     ` Kuninori Morimoto
2023-08-03  5:13   ` Trevor Wu (吳文良)
2023-08-02  0:57 ` [PATCH 28/38] ASoC: rockchip: " Kuninori Morimoto
2023-08-02  0:57 ` [PATCH 29/38] ASoC: uniphier: " Kuninori Morimoto
2023-08-02  0:57 ` [PATCH 30/38] ASoC: loongson: " Kuninori Morimoto
2023-08-02  0:57 ` [PATCH 31/38] ASoC: starfive: " Kuninori Morimoto
2023-08-02  1:13   ` Walker Chen
2023-08-02  0:57 ` [PATCH 32/38] ASoC: hisilicon: " Kuninori Morimoto
2023-08-02  0:57 ` [PATCH 33/38] ASoC: codecs/wm*: " Kuninori Morimoto
2023-08-02  0:58 ` [PATCH 34/38] ASoC: soc-topology: " Kuninori Morimoto
2023-08-02  0:58 ` [PATCH 35/38] ASoC: codecs/cs47lxx: " Kuninori Morimoto
2023-08-02  0:58 ` [PATCH 36/38] ASoC: codecs/cx2072x: " Kuninori Morimoto
2023-08-02  0:58 ` [PATCH 37/38] ASoC: codecs/hdmi-codec: " Kuninori Morimoto
2023-08-02  0:58 ` [PATCH 38/38] ASoC: soc-dai.h: remove unused call back functions Kuninori Morimoto
2023-08-07 19:56   ` kernel test robot [this message]

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=202308080309.UN2MfAcQ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.