aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel
diff options
context:
space:
mode:
authorRami Rosen <rami.rosen@intel.com>2017-09-16 05:49:48 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-10-09 14:39:49 -0700
commit3d7d7a86ec6ea5abaea30194eeb175e2a3d0bdc7 (patch)
tree0e0feb4107da844545ca7adc08cf25e0793b8dfd /drivers/net/ethernet/intel
parenti40e: use a local variable instead of calculating multiple times (diff)
downloadlinux-dev-3d7d7a86ec6ea5abaea30194eeb175e2a3d0bdc7.tar.xz
linux-dev-3d7d7a86ec6ea5abaea30194eeb175e2a3d0bdc7.zip
i40e: fix a typo
This patch fixes a typo in i40e_vsi_alloc_arrays() documentation. The first parameter name should be "vsi" instead of "type". Signed-off-by: Rami Rosen <rami.rosen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index b26f615bed5a..4de52001a2b9 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -7688,7 +7688,7 @@ static int i40e_set_num_rings_in_vsi(struct i40e_vsi *vsi)
/**
* i40e_vsi_alloc_arrays - Allocate queue and vector pointer arrays for the vsi
- * @type: VSI pointer
+ * @vsi: VSI pointer
* @alloc_qvectors: a bool to specify if q_vectors need to be allocated.
*
* On error: returns error code (negative)