net: neterion: vxge: Fix wrong function name in comments

Fixes the following W=1 kernel build warning(s):

 drivers/net/ethernet/neterion/vxge/vxge-config.c:4895: warning: expecting prototype for vxge_hw_vpath_rx_doorbell_post(). Prototype was for vxge_hw_vpath_rx_doorbell_init() instead
 drivers/net/ethernet/neterion/vxge/vxge-main.c:1814: warning: expecting prototype for vxge_poll(). Prototype was for vxge_poll_msix() instead
 drivers/net/ethernet/neterion/vxge/vxge-main.c:4761: warning: expecting prototype for vxge_rem_nic(). Prototype was for vxge_remove() instead

Cc: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Yang Shen <shenyang39@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Yang Shen 2021-05-17 12:45:27 +08:00 committed by David S. Miller
parent dc432f5acb
commit 146c91e2bc
2 changed files with 3 additions and 3 deletions

View File

@ -4884,7 +4884,7 @@ vpath_open_exit1:
}
/**
* vxge_hw_vpath_rx_doorbell_post - Close the handle got from previous vpath
* vxge_hw_vpath_rx_doorbell_init - Close the handle got from previous vpath
* (vpath) open
* @vp: Handle got from previous vpath open
*

View File

@ -1799,7 +1799,7 @@ static void vxge_reset(struct work_struct *work)
}
/**
* vxge_poll - Receive handler when Receive Polling is used.
* vxge_poll_msix - Receive handler when Receive Polling is used.
* @napi: pointer to the napi structure.
* @budget: Number of packets budgeted to be processed in this iteration.
*
@ -4752,7 +4752,7 @@ _exit0:
}
/**
* vxge_rem_nic - Free the PCI device
* vxge_remove - Free the PCI device
* @pdev: structure containing the PCI related information of the device.
* Description: This function is called by the Pci subsystem to release a
* PCI device and free up all resource held up by the device.