Commit ae360f41 authored by Leon Romanovsky's avatar Leon Romanovsky Committed by Jason Gunthorpe
Browse files

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: default avatarLeon Romanovsky <leonro@nvidia.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
parent b5486430
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1322,7 +1322,7 @@ CNTR_ELEM(#name, \
	  access_ibp_##cntr)

/**
 * hfi_addr_from_offset - return addr for readq/writeq
 * hfi1_addr_from_offset - return addr for readq/writeq
 * @dd: the dd device
 * @offset: the offset of the CSR within bar0
 *
@@ -8316,7 +8316,7 @@ static void is_interrupt(struct hfi1_devdata *dd, unsigned int source)
}

/**
 * gerneral_interrupt() -  General interrupt handler
 * general_interrupt -  General interrupt handler
 * @irq: MSIx IRQ vector
 * @data: hfi1 devdata
 *
+1 −1
Original line number Diff line number Diff line
@@ -1026,7 +1026,7 @@ static bool __set_armed_to_active(struct hfi1_packet *packet)
}

/**
 * armed to active - the fast path for armed to active
 * set_armed_to_active  - the fast path for armed to active
 * @packet: the packet structure
 *
 * Return true if packet processing needs to bail.
+3 −3
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@
#include "trace.h"

/**
 * exp_tid_group_init - initialize exp_tid_set
 * hfi1_exp_tid_set_init - initialize exp_tid_set
 * @set: the set
 */
static void hfi1_exp_tid_set_init(struct exp_tid_set *set)
@@ -70,7 +70,7 @@ void hfi1_exp_tid_group_init(struct hfi1_ctxtdata *rcd)
}

/**
 * alloc_ctxt_rcv_groups - initialize expected receive groups
 * hfi1_alloc_ctxt_rcv_groups - initialize expected receive groups
 * @rcd: the context to add the groupings to
 */
int hfi1_alloc_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd)
@@ -100,7 +100,7 @@ int hfi1_alloc_ctxt_rcv_groups(struct hfi1_ctxtdata *rcd)
}

/**
 * free_ctxt_rcv_groups - free  expected receive groups
 * hfi1_free_ctxt_rcv_groups - free  expected receive groups
 * @rcd: the context to free
 *
 * The routine dismantles the expect receive linked
+2 −1
Original line number Diff line number Diff line
@@ -1852,7 +1852,8 @@ int hfi1_create_rcvhdrq(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd)
}

/**
 * allocate eager buffers, both kernel and user contexts.
 * hfi1_setup_eagerbufs - llocate eager buffers, both kernel and user
 * contexts.
 * @rcd: the context we are setting up.
 *
 * Allocate the eager TID buffers and program them into hip.
+6 −6
Original line number Diff line number Diff line
@@ -206,7 +206,7 @@ int msix_request_rcd_irq(struct hfi1_ctxtdata *rcd)
}

/**
 * msix_request_rcd_irq() - Helper function for RCVAVAIL IRQs
 * msix_netdev_request_rcd_irq  - Helper function for RCVAVAIL IRQs
 * for netdev context
 * @rcd: valid netdev contexti
 */
@@ -221,7 +221,7 @@ int msix_netdev_request_rcd_irq(struct hfi1_ctxtdata *rcd)
}

/**
 * msix_request_smda_ira() - Helper for getting SDMA IRQ resources
 * msix_request_sdma_irq  - Helper for getting SDMA IRQ resources
 * @sde: valid sdma engine
 *
 */
@@ -243,7 +243,7 @@ int msix_request_sdma_irq(struct sdma_engine *sde)
}

/**
 * msix_request_general_irq(void) - Helper for getting general IRQ
 * msix_request_general_irq - Helper for getting general IRQ
 * resources
 * @dd: valid device data
 */
@@ -269,7 +269,7 @@ int msix_request_general_irq(struct hfi1_devdata *dd)
}

/**
 * enable_sdma_src() - Helper to enable SDMA IRQ srcs
 * enable_sdma_srcs - Helper to enable SDMA IRQ srcs
 * @dd: valid devdata structure
 * @i: index of SDMA engine
 */
@@ -349,7 +349,7 @@ void msix_free_irq(struct hfi1_devdata *dd, u8 msix_intr)
}

/**
 * hfi1_clean_up_msix_interrupts() - Free all MSIx IRQ resources
 * msix_clean_up_interrupts  - Free all MSIx IRQ resources
 * @dd: valid device data data structure
 *
 * Free the MSIx and associated PCI resources, if they have been allocated.
@@ -372,7 +372,7 @@ void msix_clean_up_interrupts(struct hfi1_devdata *dd)
}

/**
 * msix_netdev_syncrhonize_irq() - netdev IRQ synchronize
 * msix_netdev_synchronize_irq - netdev IRQ synchronize
 * @dd: valid devdata
 */
void msix_netdev_synchronize_irq(struct hfi1_devdata *dd)
Loading