tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
pending-5.14
head: 59866f9b89f5e40470ac87841bce5bf6eacdfdf6
commit: 5f907f2abe30e022918ddea8d07ead241765d3d8 [46/120] firmware: arm_ffa: Add missing
remove callback to ffa_bus_type
config: arm64-randconfig-r024-20211018 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
d245f2e8597bfb52c34810a328d42b990e4af1a4)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-stable pending-5.14
git checkout 5f907f2abe30e022918ddea8d07ead241765d3d8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/firmware/arm_ffa/bus.c:96:13: error: incompatible
function pointer types initializing 'int (*)(struct device *)' with an expression
of type 'void (struct device *)' [-Werror,-Wincompatible-function-pointer-types]
.remove = ffa_device_remove,
^~~~~~~~~~~~~~~~~
1 error generated.
vim +96 drivers/firmware/arm_ffa/bus.c
91
92 struct bus_type ffa_bus_type = {
93 .name = "arm_ffa",
94 .match = ffa_device_match,
95 .probe = ffa_device_probe,
96 .remove = ffa_device_remove,
97 .uevent =
ffa_device_uevent,
98 .dev_groups = ffa_device_attributes_groups,
99 };
100 EXPORT_SYMBOL_GPL(ffa_bus_type);
101
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org