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 <[email protected]> Reviewed-by: Przemek Kitszel <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent bf130ed commit 4c8c36f

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/intel/i40e

1 file changed

+1
-1
lines changed

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)