Commit 146c91e2 authored by Yang Shen's avatar Yang Shen Committed by David S. Miller

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: default avatarYang Shen <shenyang39@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dc432f5a
...@@ -4884,7 +4884,7 @@ vxge_hw_vpath_open(struct __vxge_hw_device *hldev, ...@@ -4884,7 +4884,7 @@ vxge_hw_vpath_open(struct __vxge_hw_device *hldev,
} }
/** /**
* 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 * (vpath) open
* @vp: Handle got from previous vpath open * @vp: Handle got from previous vpath open
* *
......
...@@ -1799,7 +1799,7 @@ static void vxge_reset(struct work_struct *work) ...@@ -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. * @napi: pointer to the napi structure.
* @budget: Number of packets budgeted to be processed in this iteration. * @budget: Number of packets budgeted to be processed in this iteration.
* *
...@@ -4752,7 +4752,7 @@ vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre) ...@@ -4752,7 +4752,7 @@ vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre)
} }
/** /**
* vxge_rem_nic - Free the PCI device * vxge_remove - Free the PCI device
* @pdev: structure containing the PCI related information of the device. * @pdev: structure containing the PCI related information of the device.
* Description: This function is called by the Pci subsystem to release a * Description: This function is called by the Pci subsystem to release a
* PCI device and free up all resource held up by the device. * PCI device and free up all resource held up by the device.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment