From: Jonathan Neuschäfer Date: Thu, 5 Mar 2020 16:05:16 +0000 (+0100) Subject: rhashtable: Document the right function parameters X-Git-Tag: v5.10.7~3081^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aeaa925bff844d225f259215a250d2811e436499;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Herbert Xu Signed-off-by: David S. Miller --- diff --git a/include/linux/rhashtable.h b/include/linux/rhashtable.h index beb9a9da..70ebef8 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,