rhashtable: Document the right function parameters
Subsystems (3)
PATCH 1/1 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 Jonathan Neuschäfer <[email protected]>
--- include/linux/rhashtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/rhashtable.h +1 -1
@@ -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,
--
2.20.1
Quoted 4 lines · Jonathan Neuschäfer
rhashtable_lookup_get_insert_keydoesn't have a parameterdata. It does have a parameterkey, however.Signed-off-by Jonathan Neuschäfer <[email protected]>
Acked-by Herbert Xu <[email protected]>
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
From: Jonathan Neuschäfer <[email protected]>
Date: Thu, 5 Mar 2020 17:05:16 +0100
Quoted 4 lines
rhashtable_lookup_get_insert_keydoesn't have a parameterdata. It does have a parameterkey, however.Signed-off-by Jonathan Neuschäfer <[email protected]>
Applied, thank you.