From: kernel test robot <lkp@intel.com>
To: "Uwe Kleine-König " <u.kleine-koenig@baylibre.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Vinod Koul <vkoul@kernel.org>
Subject: [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 *)'
Date: Tue, 23 Dec 2025 23:25:06 +0800 [thread overview]
Message-ID: <202512232309.QYeADDen-lkp@intel.com> (raw)
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
reply other threads:[~2025-12-23 15:29 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=202512232309.QYeADDen-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=u.kleine-koenig@baylibre.com \
--cc=vkoul@kernel.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.