Commit aeaa925b authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer Committed by David S. Miller
Browse files

rhashtable: Document the right function parameters



rhashtable_lookup_get_insert_key doesn't have a parameter `data`. It
does have a parameter `key`, however.

Signed-off-by: default avatarJonathan Neuschäfer <j.neuschaefer@gmx.net>
Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 03138e2b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -972,9 +972,9 @@ static inline int rhashtable_lookup_insert_key(
/**
 * rhashtable_lookup_get_insert_key - lookup and insert object into hash table
 * @ht:		hash table
 * @key:	key
 * @obj:	pointer to hash head inside object
 * @params:	hash table parameters
 * @data:	pointer to element data already in hashes
 *
 * Just like rhashtable_lookup_insert_key(), but this function returns the
 * object if it exists, NULL if it does not and the insertion was successful,