Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

RDMA: Fix kernel-doc compilation warnings

This patch fixes bunch of kernel-doc compilation warnings like below:

drivers/infiniband/hw/i40iw/i40iw_cm.c:4372: warning: expecting prototype for i40iw_ifdown_notify(). Prototype was for i40iw_if_notify() instead

Link: https://lore.kernel.org/r/20210314133908.291945-2-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>

authored by

Leon Romanovsky and committed by
Jason Gunthorpe
ae360f41 b5486430

+36 -34
+2 -2
drivers/infiniband/hw/hfi1/chip.c
··· 1322 1322 access_ibp_##cntr) 1323 1323 1324 1324 /** 1325 - * hfi_addr_from_offset - return addr for readq/writeq 1325 + * hfi1_addr_from_offset - return addr for readq/writeq 1326 1326 * @dd: the dd device 1327 1327 * @offset: the offset of the CSR within bar0 1328 1328 * ··· 8316 8316 } 8317 8317 8318 8318 /** 8319 - * gerneral_interrupt() - General interrupt handler 8319 + * general_interrupt - General interrupt handler 8320 8320 * @irq: MSIx IRQ vector 8321 8321 * @data: hfi1 devdata 8322 8322 *
+1 -1
drivers/infiniband/hw/hfi1/driver.c
··· 1026 1026 } 1027 1027 1028 1028 /** 1029 - * armed to active - the fast path for armed to active 1029 + * set_armed_to_active - the fast path for armed to active 1030 1030 * @packet: the packet structure 1031 1031 * 1032 1032 * Return true if packet processing needs to bail.
+3 -3
drivers/infiniband/hw/hfi1/exp_rcv.c
··· 49 49 #include "trace.h" 50 50 51 51 /** 52 - * exp_tid_group_init - initialize exp_tid_set 52 + * hfi1_exp_tid_set_init - initialize exp_tid_set 53 53 * @set: the set 54 54 */ 55 55 static void hfi1_exp_tid_set_init(struct exp_tid_set *set) ··· 70 70 } 71 71 72 72 /** 73 - * alloc_ctxt_rcv_groups - initialize expected receive groups 73 + * hfi1_alloc_ctxt_rcv_groups - initialize expected receive groups 74 74 * @rcd: the context to add the groupings to 75 75 */ 76 76 int hfi1_alloc_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd) ··· 100 100 } 101 101 102 102 /** 103 - * free_ctxt_rcv_groups - free expected receive groups 103 + * hfi1_free_ctxt_rcv_groups - free expected receive groups 104 104 * @rcd: the context to free 105 105 * 106 106 * The routine dismantles the expect receive linked
+2 -1
drivers/infiniband/hw/hfi1/init.c
··· 1852 1852 } 1853 1853 1854 1854 /** 1855 - * allocate eager buffers, both kernel and user contexts. 1855 + * hfi1_setup_eagerbufs - llocate eager buffers, both kernel and user 1856 + * contexts. 1856 1857 * @rcd: the context we are setting up. 1857 1858 * 1858 1859 * Allocate the eager TID buffers and program them into hip.
+6 -6
drivers/infiniband/hw/hfi1/msix.c
··· 206 206 } 207 207 208 208 /** 209 - * msix_request_rcd_irq() - Helper function for RCVAVAIL IRQs 209 + * msix_netdev_request_rcd_irq - Helper function for RCVAVAIL IRQs 210 210 * for netdev context 211 211 * @rcd: valid netdev contexti 212 212 */ ··· 221 221 } 222 222 223 223 /** 224 - * msix_request_smda_ira() - Helper for getting SDMA IRQ resources 224 + * msix_request_sdma_irq - Helper for getting SDMA IRQ resources 225 225 * @sde: valid sdma engine 226 226 * 227 227 */ ··· 243 243 } 244 244 245 245 /** 246 - * msix_request_general_irq(void) - Helper for getting general IRQ 246 + * msix_request_general_irq - Helper for getting general IRQ 247 247 * resources 248 248 * @dd: valid device data 249 249 */ ··· 269 269 } 270 270 271 271 /** 272 - * enable_sdma_src() - Helper to enable SDMA IRQ srcs 272 + * enable_sdma_srcs - Helper to enable SDMA IRQ srcs 273 273 * @dd: valid devdata structure 274 274 * @i: index of SDMA engine 275 275 */ ··· 349 349 } 350 350 351 351 /** 352 - * hfi1_clean_up_msix_interrupts() - Free all MSIx IRQ resources 352 + * msix_clean_up_interrupts - Free all MSIx IRQ resources 353 353 * @dd: valid device data data structure 354 354 * 355 355 * Free the MSIx and associated PCI resources, if they have been allocated. ··· 372 372 } 373 373 374 374 /** 375 - * msix_netdev_syncrhonize_irq() - netdev IRQ synchronize 375 + * msix_netdev_synchronize_irq - netdev IRQ synchronize 376 376 * @dd: valid devdata 377 377 */ 378 378 void msix_netdev_synchronize_irq(struct hfi1_devdata *dd)
+1 -1
drivers/infiniband/hw/hfi1/netdev_rx.c
··· 464 464 } 465 465 466 466 /** 467 - * hfi1_netdev_get_first_dat - Gets first entry with greater or equal id. 467 + * hfi1_netdev_get_first_data - Gets first entry with greater or equal id. 468 468 * 469 469 * @dd: hfi1 dev data 470 470 * @start_id: requested integer id up to INT_MAX
+1 -1
drivers/infiniband/hw/hfi1/sdma.c
··· 1285 1285 } 1286 1286 1287 1287 /** 1288 - * sdma_clean() Clean up allocated memory 1288 + * sdma_clean - Clean up allocated memory 1289 1289 * @dd: struct hfi1_devdata 1290 1290 * @num_engines: num sdma engines 1291 1291 *
+2 -2
drivers/infiniband/hw/i40iw/i40iw_cm.c
··· 905 905 } 906 906 907 907 /** 908 - * recv_mpa - process an IETF MPA frame 908 + * i40iw_parse_mpa - process an IETF MPA frame 909 909 * @cm_node: connection's node 910 910 * @buffer: Data pointer 911 911 * @type: to return accept or reject ··· 4360 4360 } 4361 4361 4362 4362 /** 4363 - * i40iw_ifdown_notify - process an ifdown on an interface 4363 + * i40iw_if_notify - process an ifdown on an interface 4364 4364 * @iwdev: device pointer 4365 4365 * @netdev: network interface device structure 4366 4366 * @ipaddr: Pointer to IPv4 or IPv6 address
+2 -2
drivers/infiniband/hw/i40iw/i40iw_hmc.c
··· 285 285 } 286 286 287 287 /** 288 - * i40iw_create_iw_hmc_obj - allocate backing store for hmc objects 288 + * i40iw_sc_create_hmc_obj - allocate backing store for hmc objects 289 289 * @dev: pointer to the device structure 290 290 * @info: pointer to i40iw_hmc_iw_create_obj_info struct 291 291 * ··· 434 434 } 435 435 436 436 /** 437 - * i40iw_del_iw_hmc_obj - remove pe hmc objects 437 + * i40iw_sc_del_hmc_obj - remove pe hmc objects 438 438 * @dev: pointer to the device structure 439 439 * @info: pointer to i40iw_hmc_del_obj_info struct 440 440 * @reset: true if called before reset
+1 -1
drivers/infiniband/hw/i40iw/i40iw_main.c
··· 251 251 } 252 252 253 253 /** 254 - * i40iw_disable_irqs - disable device interrupts 254 + * i40iw_disable_irq - disable device interrupts 255 255 * @dev: hardware control device structure 256 256 * @msix_vec: msix vector to disable irq 257 257 * @dev_id: parameter to pass to free_irq (used during irq setup)
+1 -1
drivers/infiniband/hw/i40iw/i40iw_puda.c
··· 1000 1000 } 1001 1001 1002 1002 /** 1003 - * i40iw_ieq_get_fpdu - given length return fpdu length 1003 + * i40iw_ieq_get_fpdu_length - given length return fpdu length 1004 1004 * @length: length if fpdu 1005 1005 */ 1006 1006 static u16 i40iw_ieq_get_fpdu_length(u16 length)
+1 -1
drivers/infiniband/hw/i40iw/i40iw_utils.c
··· 890 890 } 891 891 892 892 /** 893 - * i40iw_terminate_imeout - timeout happened 893 + * i40iw_terminate_timeout - timeout happened 894 894 * @t: points to iwarp qp 895 895 */ 896 896 static void i40iw_terminate_timeout(struct timer_list *t)
+2 -2
drivers/infiniband/hw/i40iw/i40iw_verbs.c
··· 647 647 } 648 648 649 649 /** 650 - * i40iw_query - query qp attributes 650 + * i40iw_query_qp - query qp attributes 651 651 * @ibqp: qp pointer 652 652 * @attr: attributes pointer 653 653 * @attr_mask: Not used ··· 1846 1846 } 1847 1847 1848 1848 /** 1849 - * i40iw_del_mem_list - Deleting pbl list entries for CQ/QP 1849 + * i40iw_del_memlist - Deleting pbl list entries for CQ/QP 1850 1850 * @iwmr: iwmr for IB's user page addresses 1851 1851 * @ucontext: ptr to user context 1852 1852 */
+1 -1
drivers/infiniband/hw/i40iw/i40iw_virtchnl.c
··· 333 333 } 334 334 335 335 /** 336 - * pf_add_hmc_obj - Callback for Add HMC Object 336 + * pf_add_hmc_obj_callback - Callback for Add HMC Object 337 337 * @work_vf_dev: pointer to the VF Device 338 338 */ 339 339 static void pf_add_hmc_obj_callback(void *work_vf_dev)
+3 -2
drivers/infiniband/hw/qib/qib_file_ops.c
··· 1758 1758 } 1759 1759 1760 1760 /** 1761 - * unlock_exptid - unlock any expected TID entries context still had in use 1761 + * unlock_expected_tids - unlock any expected TID entries context still had 1762 + * in use 1762 1763 * @rcd: ctxt 1763 1764 * 1764 1765 * We don't actually update the chip here, because we do a bulk update ··· 2248 2247 2249 2248 if (!iter_is_iovec(from) || !from->nr_segs || !pq) 2250 2249 return -EINVAL; 2251 - 2250 + 2252 2251 return qib_user_sdma_writev(rcd, pq, from->iov, from->nr_segs); 2253 2252 } 2254 2253
+1 -1
drivers/infiniband/hw/qib/qib_iba6120.c
··· 2609 2609 } 2610 2610 2611 2611 /** 2612 - * qib_get_faststats - get word counters from chip before they overflow 2612 + * qib_get_6120_faststats - get word counters from chip before they overflow 2613 2613 * @t: contains a pointer to the qlogic_ib device qib_devdata 2614 2614 * 2615 2615 * This needs more work; in particular, decision on whether we really
+2 -2
drivers/infiniband/hw/qib/qib_iba7220.c
··· 2236 2236 } 2237 2237 2238 2238 /** 2239 - * qib_init_7220_get_base_info - set chip-specific flags for user code 2239 + * qib_7220_get_base_info - set chip-specific flags for user code 2240 2240 * @rcd: the qlogic_ib ctxt 2241 2241 * @kinfo: qib_base_info pointer 2242 2242 * ··· 4411 4411 4412 4412 #define VALID_TS_RD_REG_MASK 0xBF 4413 4413 /** 4414 - * qib_7220_tempsense_read - read register of temp sensor via TWSI 4414 + * qib_7220_tempsense_rd - read register of temp sensor via TWSI 4415 4415 * @dd: the qlogic_ib device 4416 4416 * @regnum: register to read from 4417 4417 *
+2 -2
drivers/infiniband/hw/qib/qib_iba7322.c
··· 2513 2513 } 2514 2514 2515 2515 /** 2516 - * qib_7322_quiet_serdes - set serdes to txidle 2516 + * qib_7322_mini_quiet_serdes - set serdes to txidle 2517 2517 * @ppd: the qlogic_ib device 2518 2518 * Called when driver is being unloaded 2519 2519 */ ··· 3859 3859 } 3860 3860 3861 3861 /** 3862 - * qib_init_7322_get_base_info - set chip-specific flags for user code 3862 + * qib_7322_get_base_info - set chip-specific flags for user code 3863 3863 * @rcd: the qlogic_ib ctxt 3864 3864 * @kinfo: qib_base_info pointer 3865 3865 *
+1 -1
drivers/infiniband/hw/qib/qib_init.c
··· 1609 1609 } 1610 1610 1611 1611 /** 1612 - * allocate eager buffers, both kernel and user contexts. 1612 + * qib_setup_eagerbufs - allocate eager buffers, both kernel and user contexts. 1613 1613 * @rcd: the context we are setting up. 1614 1614 * 1615 1615 * Allocate the eager TID buffers and program them into hip.
+1 -1
drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c
··· 882 882 } 883 883 884 884 /** 885 - * pvrdma_post_receive - post receive work request entries on a QP 885 + * pvrdma_post_recv - post receive work request entries on a QP 886 886 * @ibqp: the QP 887 887 * @wr: the work request list to post 888 888 * @bad_wr: the first bad WR returned