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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
 * @vp: Handle got from previous vpath open
 *
+2 −2
Original line number Diff line number Diff line
@@ -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 @@ 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.
 * Description: This function is called by the Pci subsystem to release a
 * PCI device and free up all resource held up by the device.