* [vkoul-soundwire:next 4/7] sound/soc/codecs/sdw-mockup.c:267:12: error: incompatible function pointer types initializing 'void (*)(struct sdw_slave *)' with an expression of type 'int (struct sdw_slave *)'
@ 2025-12-23 15:25 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-23 15:25 UTC (permalink / raw)
To: Uwe Kleine-König ; +Cc: llvm, oe-kbuild-all, Vinod Koul
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire.git next
head: c6f1e99ab03c5a94ed6389f5930e91f274b3ba67
commit: 478f3890709a092a97a0218f61af19ac9b725573 [4/7] soundwire: Make remove function return no value
config: arm64-randconfig-003-20251223 (https://download.01.org/0day-ci/archive/20251223/202512232309.QYeADDen-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251223/202512232309.QYeADDen-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/202512232309.QYeADDen-lkp@intel.com/
All errors (new ones prefixed by >>):
>> sound/soc/codecs/sdw-mockup.c:267:12: error: incompatible function pointer types initializing 'void (*)(struct sdw_slave *)' with an expression of type 'int (struct sdw_slave *)' [-Wincompatible-function-pointer-types]
267 | .remove = sdw_mockup_sdw_remove,
| ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
vim +267 sound/soc/codecs/sdw-mockup.c
81d3d3d0bf09e6 Pierre-Louis Bossart 2021-07-14 261
81d3d3d0bf09e6 Pierre-Louis Bossart 2021-07-14 262 static struct sdw_driver sdw_mockup_sdw_driver = {
81d3d3d0bf09e6 Pierre-Louis Bossart 2021-07-14 263 .driver = {
81d3d3d0bf09e6 Pierre-Louis Bossart 2021-07-14 264 .name = "sdw-mockup",
81d3d3d0bf09e6 Pierre-Louis Bossart 2021-07-14 265 },
81d3d3d0bf09e6 Pierre-Louis Bossart 2021-07-14 266 .probe = sdw_mockup_sdw_probe,
81d3d3d0bf09e6 Pierre-Louis Bossart 2021-07-14 @267 .remove = sdw_mockup_sdw_remove,
81d3d3d0bf09e6 Pierre-Louis Bossart 2021-07-14 268 .ops = &sdw_mockup_slave_ops,
81d3d3d0bf09e6 Pierre-Louis Bossart 2021-07-14 269 .id_table = sdw_mockup_id,
81d3d3d0bf09e6 Pierre-Louis Bossart 2021-07-14 270 };
81d3d3d0bf09e6 Pierre-Louis Bossart 2021-07-14 271 module_sdw_driver(sdw_mockup_sdw_driver);
81d3d3d0bf09e6 Pierre-Louis Bossart 2021-07-14 272
:::::: The code at line 267 was first introduced by commit
:::::: 81d3d3d0bf09e606dbc1e3daad1c7cef3976fca2 ASoC: codecs: add SoundWire mockup device support
:::::: TO: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.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:[~2025-12-23 15:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-23 15:25 [vkoul-soundwire:next 4/7] sound/soc/codecs/sdw-mockup.c:267:12: error: incompatible function pointer types initializing 'void (*)(struct sdw_slave *)' with an expression of type 'int (struct sdw_slave *)' 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.