* [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 *)'
@ 2023-10-01 3:20 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-10-01 3:20 UTC (permalink / raw)
To: Martin Povišer; +Cc: oe-kbuild-all, Hector Martin
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-01 3:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-01 3:20 [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 *)' kernel test robot
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.