* [bytedance:5.15-velinux 0/1] drivers/vdpa/ifcvf/ifcvf_main.c:553:13: error: incompatible function pointer types initializing 'void (*)(struct vdpa_mgmt_dev *, struct vdpa_device *, int)' with an expression of type 'void (struct vdpa_mgmt_dev *, struct vdpa_device *)'
@ 2025-05-09 6:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-09 6:55 UTC (permalink / raw)
To: jason.zeng, lin.x.wang, pei.p.jia; +Cc: oe-kbuild-all
tree: https://github.com/bytedance/kernel.git 5.15-velinux
head: de277dab626c9ece4c9cf99ec9c56f23b298a042
commit: e4b7b11288fc91b44fd73cd10b954c515eeb26ca [0/1] bytedance: vdpa: Add deletion timeout support
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250509/202505091413.d35ALLmI-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
rustc: rustc 1.58.0 (02072b482 2022-01-11)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505091413.d35ALLmI-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/202505091413.d35ALLmI-lkp@intel.com/
Note: the bytedance/5.15-velinux HEAD de277dab626c9ece4c9cf99ec9c56f23b298a042 builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
>> drivers/vdpa/ifcvf/ifcvf_main.c:553:13: error: incompatible function pointer types initializing 'void (*)(struct vdpa_mgmt_dev *, struct vdpa_device *, int)' with an expression of type 'void (struct vdpa_mgmt_dev *, struct vdpa_device *)' [-Wincompatible-function-pointer-types]
553 | .dev_del = ifcvf_vdpa_dev_del
| ^~~~~~~~~~~~~~~~~~
drivers/vdpa/ifcvf/ifcvf_main.c:600:39: warning: shift count >= width of type [-Wshift-count-overflow]
600 | ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64));
| ^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:76:54: note: expanded from macro 'DMA_BIT_MASK'
76 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
| ^ ~~~
1 warning and 1 error generated.
--
>> drivers/vdpa/mlx5/net/mlx5_vnet.c:2650:13: error: incompatible function pointer types initializing 'void (*)(struct vdpa_mgmt_dev *, struct vdpa_device *, int)' with an expression of type 'void (struct vdpa_mgmt_dev *, struct vdpa_device *)' [-Wincompatible-function-pointer-types]
2650 | .dev_del = mlx5_vdpa_dev_del,
| ^~~~~~~~~~~~~~~~~
1 error generated.
vim +553 drivers/vdpa/ifcvf/ifcvf_main.c
6b5df347c6482f Zhu Lingshan 2021-08-12 550
6b5df347c6482f Zhu Lingshan 2021-08-12 551 static const struct vdpa_mgmtdev_ops ifcvf_vdpa_mgmt_dev_ops = {
6b5df347c6482f Zhu Lingshan 2021-08-12 552 .dev_add = ifcvf_vdpa_dev_add,
6b5df347c6482f Zhu Lingshan 2021-08-12 @553 .dev_del = ifcvf_vdpa_dev_del
6b5df347c6482f Zhu Lingshan 2021-08-12 554 };
6b5df347c6482f Zhu Lingshan 2021-08-12 555
:::::: The code at line 553 was first introduced by commit
:::::: 6b5df347c6482f57b0d8f0569b86fb8fcd90d168 vDPA/ifcvf: implement management netlink framework for ifcvf
:::::: TO: Zhu Lingshan <lingshan.zhu@intel.com>
:::::: CC: Michael S. Tsirkin <mst@redhat.com>
--
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-05-09 6:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09 6:55 [bytedance:5.15-velinux 0/1] drivers/vdpa/ifcvf/ifcvf_main.c:553:13: error: incompatible function pointer types initializing 'void (*)(struct vdpa_mgmt_dev *, struct vdpa_device *, int)' with an expression of type 'void (struct vdpa_mgmt_dev *, struct vdpa_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.