diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2020-03-05 17:05:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-06 22:33:38 -0800 |
commit | aeaa925bff844d225f259215a250d2811e436499 (patch) | |
tree | 021d0cc33ea754a4f5f5850c239193ac8a58f87f /include | |
parent | 03138e2bf78b2e219b5f15b9bbd84e2d457e3b73 (diff) |
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 <j.neuschaefer@gmx.net>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/rhashtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rhashtable.h b/include/linux/rhashtable.h index beb9a9da1699..70ebef866cc8 100644 --- a/include/linux/rhashtable.h +++ b/include/linux/rhashtable.h @@ -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, |