Skip to content
Commit c84716c4 authored by NeilBrown's avatar NeilBrown Committed by Jiri Kosina
Browse files

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: default avatarNeilBrown <neilb@suse.com>
Reviewed-by: default avatarMukesh Ojha <mojha@codeaurora.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent fb33c651
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment