list/hashtable: minor documentation corrections.
authorNeilBrown <neilb@suse.com>
Thu, 21 Mar 2019 03:54:22 +0000 (14:54 +1100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 17 Mar 2020 16:25:06 +0000 (17:25 +0100)
commitc84716c401d34eed5ed45a9c3553b08b0d541b9a
treeee3f27f3f74f14bb5217b3d9036cede9d70c20b1
parentfb33c6510d5595144d585aa194d377cf74d31911
list/hashtable: minor documentation corrections.

hash_for_each_safe() and hash_for_each_possible_safe()
need to be passed a temp 'struct hlist_node' pointer, but
do not say that in the documentation - they just say
a 'struct'.

Also the documentation for hlist_for_each_entry_safe()
describes @n as "another" hlist_node, but in reality it is
the only one.

Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/hashtable.h
include/linux/list.h