Skip to content

Commit 4c8c36f

Browse files
hormsanguy11
authored andcommitted
i40e: correct i40e_addr_to_hkey() name in kdoc
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>
1 parent bf130ed commit 4c8c36f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/ethernet/intel/i40e

drivers/net/ethernet/intel/i40e/i40e.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ __i40e_pf_next_veb(struct i40e_pf *pf, int *idx)
735735
_i++, _veb = __i40e_pf_next_veb(_pf, &_i))
736736

737737
/**
738-
* i40e_mac_to_hkey - Convert a 6-byte MAC Address to a u64 hash key
738+
* i40e_addr_to_hkey - Convert a 6-byte MAC Address to a u64 hash key
739739
* @macaddr: the MAC Address as the base key
740740
*
741741
* Simply copies the address and returns it as a u64 for hashing

0 commit comments

Comments
 (0)