X-Git-Url: https://jxself.org/git/?p=linux-libre-firmware.git;a=blobdiff_plain;f=carl9170fw%2Fconfig%2Flist.h;fp=carl9170fw%2Fconfig%2Flist.h;h=2cf23f002d3f48f6b51ac9898fde7681ea39cf53;hp=685d80e1bb0e77de75a97a2ada22991131597b58;hb=4d82a54061be75c0bf489026aad55821bc9c61c7;hpb=1ba1a88647bfe113c885f985d6e383790dec2a1f diff --git a/carl9170fw/config/list.h b/carl9170fw/config/list.h index 685d80e..2cf23f0 100644 --- a/carl9170fw/config/list.h +++ b/carl9170fw/config/list.h @@ -34,7 +34,7 @@ struct list_head { * list_entry - get the struct for this entry * @ptr: the &struct list_head pointer. * @type: the type of the struct this is embedded in. - * @member: the name of the list_struct within the struct. + * @member: the name of the list_head within the struct. */ #define list_entry(ptr, type, member) \ container_of(ptr, type, member) @@ -43,7 +43,7 @@ struct list_head { * list_for_each_entry - iterate over list of given type * @pos: the type * to use as a loop cursor. * @head: the head for your list. - * @member: the name of the list_struct within the struct. + * @member: the name of the list_head within the struct. */ #define list_for_each_entry(pos, head, member) \ for (pos = list_entry((head)->next, typeof(*pos), member); \ @@ -55,7 +55,7 @@ struct list_head { * @pos: the type * to use as a loop cursor. * @n: another type * to use as temporary storage * @head: the head for your list. - * @member: the name of the list_struct within the struct. + * @member: the name of the list_head within the struct. */ #define list_for_each_entry_safe(pos, n, head, member) \ for (pos = list_entry((head)->next, typeof(*pos), member), \