]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
i40e: correct i40e_addr_to_hkey() name in kdoc
authorSimon Horman <horms@kernel.org>
Fri, 5 Jul 2024 13:15:40 +0000 (14:15 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 11 Jul 2024 17:05:52 +0000 (10:05 -0700)
Correct name of i40e_addr_to_hkey() in it's kdoc.

kernel-doc -none reports:

 drivers/net/ethernet/intel/i40e/i40e.h:739: warning: expecting prototype for i40e_mac_to_hkey(). Prototype was for i40e_addr_to_hkey() instead

Signed-off-by: Simon Horman <horms@kernel.org>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h

index bca2084cc54b4c57399d58e454b374ab75fcb435..d546567e0286e404af63dba393559e0fff2396b8 100644 (file)
@@ -735,7 +735,7 @@ __i40e_pf_next_veb(struct i40e_pf *pf, int *idx)
             _i++, _veb = __i40e_pf_next_veb(_pf, &_i))
 
 /**
- * i40e_mac_to_hkey - Convert a 6-byte MAC Address to a u64 hash key
+ * i40e_addr_to_hkey - Convert a 6-byte MAC Address to a u64 hash key
  * @macaddr: the MAC Address as the base key
  *
  * Simply copies the address and returns it as a u64 for hashing