aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-04-03 16:27:08 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-04-14 18:48:30 -0400
commit41857562530c1da9cd73b018996b9522676cb6a2 (patch)
tree68f8acfcaed19f30757aad7edb112d5733f4773d /drivers/net
parentada2411d4fce4c55cfe04cdd9ed3dc2c5fe6523a (diff)
fm10k: fix function header comment
The header comment included a miscopy of a C-code line, and also mis-used Rx FIFO when it clearly meant Tx FIFO Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Acked-by: Matthew Vick <matthew.vick@intel.com> Tested-by: Krishneil Singh <krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/intel/fm10k/fm10k_mbx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/fm10k/fm10k_mbx.c b/drivers/net/ethernet/intel/fm10k/fm10k_mbx.c
index 59faf322f0b4..e9ecfb422db2 100644
--- a/drivers/net/ethernet/intel/fm10k/fm10k_mbx.c
+++ b/drivers/net/ethernet/intel/fm10k/fm10k_mbx.c
@@ -326,8 +326,7 @@ static u16 fm10k_mbx_validate_msg_size(struct fm10k_mbx_info *mbx, u16 len)
326 * fm10k_mbx_write_copy - pulls data off of Tx FIFO and places it in mbmem 326 * fm10k_mbx_write_copy - pulls data off of Tx FIFO and places it in mbmem
327 * @mbx: pointer to mailbox 327 * @mbx: pointer to mailbox
328 * 328 *
329 * This function will take a section of the Rx FIFO and copy it into the 329 * This function will take a section of the Tx FIFO and copy it into the
330 mbx->tail--;
331 * mailbox memory. The offset in mbmem is based on the lower bits of the 330 * mailbox memory. The offset in mbmem is based on the lower bits of the
332 * tail and len determines the length to copy. 331 * tail and len determines the length to copy.
333 **/ 332 **/