Skip to content

Commit d8ec92f

Browse files
jacob-kellerJeff Kirsher
authored andcommitted
fm10k: fix a minor typo in some comments
s/funciton/function to resolve a typo, and cleanup grammar on a few comments regarding processing the VF mailboxes. Signed-off-by: Jacob Keller <[email protected]> Tested-by: Krishneil Singh <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
1 parent 4be37c4 commit d8ec92f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

drivers/net/ethernet/intel/fm10k/fm10k_iov.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ s32 fm10k_iov_event(struct fm10k_intfc *interface)
5050
s64 vflre;
5151
int i;
5252

53-
/* if there is no iov_data then there is no mailboxes to process */
53+
/* if there is no iov_data then there is no mailbox to process */
5454
if (!ACCESS_ONCE(interface->iov_data))
5555
return 0;
5656

@@ -98,7 +98,7 @@ s32 fm10k_iov_mbx(struct fm10k_intfc *interface)
9898
struct fm10k_iov_data *iov_data;
9999
int i;
100100

101-
/* if there is no iov_data then there is no mailboxes to process */
101+
/* if there is no iov_data then there is no mailbox to process */
102102
if (!ACCESS_ONCE(interface->iov_data))
103103
return 0;
104104

drivers/net/ethernet/intel/fm10k/fm10k_netdev.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ static void fm10k_restore_vxlan_port(struct fm10k_intfc *interface)
440440
* @sa_family: Address family of new port
441441
* @port: port number used for VXLAN
442442
*
443-
* This funciton is called when a new VXLAN interface has added a new port
443+
* This function is called when a new VXLAN interface has added a new port
444444
* number to the range that is currently in use for VXLAN. The new port
445445
* number is always added to the tail so that the port number list should
446446
* match the order in which the ports were allocated. The head of the list
@@ -484,7 +484,7 @@ static void fm10k_add_vxlan_port(struct net_device *dev,
484484
* @sa_family: Address family of freed port
485485
* @port: port number used for VXLAN
486486
*
487-
* This funciton is called when a new VXLAN interface has freed a port
487+
* This function is called when a new VXLAN interface has freed a port
488488
* number from the range that is currently in use for VXLAN. The freed
489489
* port is removed from the list and the new head is used to determine
490490
* the port number for offloads.

drivers/net/ethernet/intel/fm10k/fm10k_pci.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,7 @@ static s32 fm10k_1588_msg_pf(struct fm10k_hw *hw, u32 **results,
13791379
return 0;
13801380
}
13811381

1382-
/* if there is no iov_data then there is no mailboxes to process */
1382+
/* if there is no iov_data then there is no mailbox to process */
13831383
if (!ACCESS_ONCE(interface->iov_data))
13841384
return FM10K_ERR_PARAM;
13851385

@@ -2394,7 +2394,7 @@ static struct pci_driver fm10k_driver = {
23942394
/**
23952395
* fm10k_register_pci_driver - register driver interface
23962396
*
2397-
* This funciton is called on module load in order to register the driver.
2397+
* This function is called on module load in order to register the driver.
23982398
**/
23992399
int fm10k_register_pci_driver(void)
24002400
{
@@ -2404,7 +2404,7 @@ int fm10k_register_pci_driver(void)
24042404
/**
24052405
* fm10k_unregister_pci_driver - unregister driver interface
24062406
*
2407-
* This funciton is called on module unload in order to remove the driver.
2407+
* This function is called on module unload in order to remove the driver.
24082408
**/
24092409
void fm10k_unregister_pci_driver(void)
24102410
{

drivers/net/ethernet/intel/fm10k/fm10k_pf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1604,7 +1604,7 @@ static s32 fm10k_request_lport_map_pf(struct fm10k_hw *hw)
16041604
* @hw: pointer to hardware structure
16051605
* @switch_ready: pointer to boolean value that will record switch state
16061606
*
1607-
* This funciton will check the DMA_CTRL2 register and mailbox in order
1607+
* This function will check the DMA_CTRL2 register and mailbox in order
16081608
* to determine if the switch is ready for the PF to begin requesting
16091609
* addresses and mapping traffic to the local interface.
16101610
**/

0 commit comments

Comments
 (0)