* [android-common:main-16k-gs-shusky-5.15 30/30] drivers/cma_test/cma_alloc_test_drv.c:75:12: error: incompatible function pointer types initializing 'int (*)(struct platform_device *)' with an expression of type 'void (struct platform_device *)'
@ 2026-03-17 13:40 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-17 13:40 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi Juan,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common main-16k-gs-shusky-5.15
head: 339bea17e1ccb695cddcbc39f88955c85e45d97a
commit: 15432ccf862045408c00db1c2d0ee04fdc415ac6 [30/30] ANDROID: cma: Skeleton for CMA alloc test driver
config: x86_64-buildonly-randconfig-003-20260317 (https://download.01.org/0day-ci/archive/20260317/202603172157.TOR1ZHZ8-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 4abb927bacf37f18f6359a41639a6d1b3bffffb5)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260317/202603172157.TOR1ZHZ8-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/202603172157.TOR1ZHZ8-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from <built-in>:3:
In file included from include/linux/compiler_types.h:80:
include/linux/compiler-clang.h:24:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined]
24 | #define __SANITIZE_ADDRESS__
| ^
<built-in>:354:9: note: previous definition is here
354 | #define __SANITIZE_ADDRESS__ 1
| ^
>> drivers/cma_test/cma_alloc_test_drv.c:75:12: error: incompatible function pointer types initializing 'int (*)(struct platform_device *)' with an expression of type 'void (struct platform_device *)' [-Wincompatible-function-pointer-types]
75 | .remove = cma_test_remove,
| ^~~~~~~~~~~~~~~
1 warning and 1 error generated.
vim +75 drivers/cma_test/cma_alloc_test_drv.c
67
68 static struct platform_driver cma_test_driver = {
69 .driver = {
70 .name = "cma_alloc_test",
71 .owner = THIS_MODULE,
72 .of_match_table = of_match_ptr(cma_test_dt_ids),
73 },
74 .probe = cma_test_probe,
> 75 .remove = cma_test_remove,
76 .suspend = cma_test_suspend,
77 .shutdown = cma_test_shutdown,
78 .resume = cma_test_resume,
79 .id_table = cma_test_id_table,
80 };
81
--
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:[~2026-03-17 13:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-17 13:40 [android-common:main-16k-gs-shusky-5.15 30/30] drivers/cma_test/cma_alloc_test_drv.c:75:12: error: incompatible function pointer types initializing 'int (*)(struct platform_device *)' with an expression of type 'void (struct platform_device *)' 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.