All of lore.kernel.org
 help / color / mirror / Atom feed
* [leon-rdma:rdma-next 32/1045] drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c:184:23: error: use of undeclared identifier 'pvrdma_report_event_handle'
@ 2024-12-24 17:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-12-24 17:13 UTC (permalink / raw)
  To: Yuyu Li; +Cc: llvm, oe-kbuild-all, Leon Romanovsky, Junxian Huang

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git rdma-next
head:   afe2e50bf66e078829b0b15249542da262a945ed
commit: 6577fade345296c6ed8aa054181c67a05cb135f2 [32/1045] RDMA/pvrdma: Support report_port_event() ops
config: x86_64-buildonly-randconfig-004-20241224 (https://download.01.org/0day-ci/archive/20241225/202412250108.bZPX0cVX-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241225/202412250108.bZPX0cVX-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/202412250108.bZPX0cVX-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c:47:
   In file included from include/linux/inetdevice.h:9:
   In file included from include/linux/ip.h:16:
   In file included from include/linux/skbuff.h:17:
   In file included from include/linux/bvec.h:10:
   In file included from include/linux/highmem.h:8:
   In file included from include/linux/cacheflush.h:5:
   In file included from arch/x86/include/asm/cacheflush.h:5:
   In file included from include/linux/mm.h:2223:
   include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     504 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     505 |                            item];
         |                            ~~~~
   include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
     511 |         return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~ ^
     512 |                            NR_VM_NUMA_EVENT_ITEMS +
         |                            ~~~~~~~~~~~~~~~~~~~~~~
   include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
     518 |         return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
         |                               ~~~~~~~~~~~ ^ ~~~
>> drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c:184:23: error: use of undeclared identifier 'pvrdma_report_event_handle'
     184 |         .report_port_event = pvrdma_report_event_handle,
         |                              ^
   drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c:830:46: warning: shift count >= width of type [-Wshift-count-overflow]
     830 |         ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
         |                                                     ^~~~~~~~~~~~~~~~
   include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK'
      73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
         |                                                      ^ ~~~
   4 warnings and 1 error generated.


vim +/pvrdma_report_event_handle +184 drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c

   145	
   146	static const struct ib_device_ops pvrdma_dev_ops = {
   147		.owner = THIS_MODULE,
   148		.driver_id = RDMA_DRIVER_VMW_PVRDMA,
   149		.uverbs_abi_ver = PVRDMA_UVERBS_ABI_VERSION,
   150	
   151		.add_gid = pvrdma_add_gid,
   152		.alloc_mr = pvrdma_alloc_mr,
   153		.alloc_pd = pvrdma_alloc_pd,
   154		.alloc_ucontext = pvrdma_alloc_ucontext,
   155		.create_ah = pvrdma_create_ah,
   156		.create_cq = pvrdma_create_cq,
   157		.create_qp = pvrdma_create_qp,
   158		.dealloc_pd = pvrdma_dealloc_pd,
   159		.dealloc_ucontext = pvrdma_dealloc_ucontext,
   160		.del_gid = pvrdma_del_gid,
   161		.dereg_mr = pvrdma_dereg_mr,
   162		.destroy_ah = pvrdma_destroy_ah,
   163		.destroy_cq = pvrdma_destroy_cq,
   164		.destroy_qp = pvrdma_destroy_qp,
   165		.device_group = &pvrdma_attr_group,
   166		.get_dev_fw_str = pvrdma_get_fw_ver_str,
   167		.get_dma_mr = pvrdma_get_dma_mr,
   168		.get_link_layer = pvrdma_port_link_layer,
   169		.get_port_immutable = pvrdma_port_immutable,
   170		.map_mr_sg = pvrdma_map_mr_sg,
   171		.mmap = pvrdma_mmap,
   172		.modify_port = pvrdma_modify_port,
   173		.modify_qp = pvrdma_modify_qp,
   174		.poll_cq = pvrdma_poll_cq,
   175		.post_recv = pvrdma_post_recv,
   176		.post_send = pvrdma_post_send,
   177		.query_device = pvrdma_query_device,
   178		.query_gid = pvrdma_query_gid,
   179		.query_pkey = pvrdma_query_pkey,
   180		.query_port = pvrdma_query_port,
   181		.query_qp = pvrdma_query_qp,
   182		.reg_user_mr = pvrdma_reg_user_mr,
   183		.req_notify_cq = pvrdma_req_notify_cq,
 > 184		.report_port_event = pvrdma_report_event_handle,
   185	
   186		INIT_RDMA_OBJ_SIZE(ib_ah, pvrdma_ah, ibah),
   187		INIT_RDMA_OBJ_SIZE(ib_cq, pvrdma_cq, ibcq),
   188		INIT_RDMA_OBJ_SIZE(ib_pd, pvrdma_pd, ibpd),
   189		INIT_RDMA_OBJ_SIZE(ib_qp, pvrdma_qp, ibqp),
   190		INIT_RDMA_OBJ_SIZE(ib_ucontext, pvrdma_ucontext, ibucontext),
   191	};
   192	

-- 
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:[~2024-12-24 17:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-24 17:13 [leon-rdma:rdma-next 32/1045] drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c:184:23: error: use of undeclared identifier 'pvrdma_report_event_handle' 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.