All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Martin Povišer" <povik+lin@cutebit.org>
Cc: oe-kbuild-all@lists.linux.dev, Hector Martin <marcan@marcan.st>
Subject: [asahilinux:bits/070-audio 9/38] sound/soc/mediatek/mt8188/mt8188-mt6359.c:1014:27: error: initialization of 'int (*)(struct snd_soc_card *)' from incompatible pointer type 'void (*)(struct snd_soc_card *)'
Date: Sun, 1 Oct 2023 11:20:30 +0800	[thread overview]
Message-ID: <202310011140.2LAnbrJQ-lkp@intel.com> (raw)

tree:   https://github.com/AsahiLinux/linux bits/070-audio
head:   84126be72ac9e0b38c992e806417952deb3cd540
commit: 25fb334d4b27e01a34b91dce341df1bd2827de91 [9/38] ASoC: card: Let 'fixup_controls' return errors
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20231001/202310011140.2LAnbrJQ-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231001/202310011140.2LAnbrJQ-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/202310011140.2LAnbrJQ-lkp@intel.com/

All errors (new ones prefixed by >>):

>> sound/soc/mediatek/mt8188/mt8188-mt6359.c:1014:27: error: initialization of 'int (*)(struct snd_soc_card *)' from incompatible pointer type 'void (*)(struct snd_soc_card *)' [-Werror=incompatible-pointer-types]
    1014 |         .fixup_controls = mt8188_fixup_controls,
         |                           ^~~~~~~~~~~~~~~~~~~~~
   sound/soc/mediatek/mt8188/mt8188-mt6359.c:1014:27: note: (near initialization for 'mt8188_mt6359_soc_card.fixup_controls')
   cc1: some warnings being treated as errors


vim +1014 sound/soc/mediatek/mt8188/mt8188-mt6359.c

9f08dcbddeb307 Trevor Wu 2023-05-26  1005  
96035d46d4b452 Trevor Wu 2023-01-16  1006  static struct snd_soc_card mt8188_mt6359_soc_card = {
96035d46d4b452 Trevor Wu 2023-01-16  1007  	.owner = THIS_MODULE,
96035d46d4b452 Trevor Wu 2023-01-16  1008  	.dai_link = mt8188_mt6359_dai_links,
96035d46d4b452 Trevor Wu 2023-01-16  1009  	.num_links = ARRAY_SIZE(mt8188_mt6359_dai_links),
96035d46d4b452 Trevor Wu 2023-01-16  1010  	.dapm_widgets = mt8188_mt6359_widgets,
96035d46d4b452 Trevor Wu 2023-01-16  1011  	.num_dapm_widgets = ARRAY_SIZE(mt8188_mt6359_widgets),
96035d46d4b452 Trevor Wu 2023-01-16  1012  	.controls = mt8188_mt6359_controls,
96035d46d4b452 Trevor Wu 2023-01-16  1013  	.num_controls = ARRAY_SIZE(mt8188_mt6359_controls),
9f08dcbddeb307 Trevor Wu 2023-05-26 @1014  	.fixup_controls = mt8188_fixup_controls,
96035d46d4b452 Trevor Wu 2023-01-16  1015  };
96035d46d4b452 Trevor Wu 2023-01-16  1016  

:::::: The code at line 1014 was first introduced by commit
:::::: 9f08dcbddeb307793bbfff036db213d2cdf03a50 ASoC: mediatek: mt8188-mt6359: support new board with nau88255

:::::: TO: Trevor Wu <trevor.wu@mediatek.com>
:::::: CC: Mark Brown <broonie@kernel.org>

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

                 reply	other threads:[~2023-10-01  3:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202310011140.2LAnbrJQ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=marcan@marcan.st \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=povik+lin@cutebit.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.