diff options
author | wchang kim <wchang.kim@samsung.com> | 2020-07-31 15:04:34 +0900 |
---|---|---|
committer | wchang kim <wchang.kim@samsung.com> | 2020-07-31 15:04:34 +0900 |
commit | e3d9ef72fbdda59ec80dee89c4cd70fa3fec8458 (patch) | |
tree | ff76dd8514c0f8b5792fabc99143ea7146177db9 /support/kconfig/list.h | |
parent | b1f6235803f0e03b77e8719c9568a2fb853189f4 (diff) | |
download | tbb-e3d9ef72fbdda59ec80dee89c4cd70fa3fec8458.tar.gz tbb-e3d9ef72fbdda59ec80dee89c4cd70fa3fec8458.tar.bz2 tbb-e3d9ef72fbdda59ec80dee89c4cd70fa3fec8458.zip |
Update kconfig tool
Change-Id: I78a7593392bd90846aa12a9c4c8366c44cf927aa
Diffstat (limited to 'support/kconfig/list.h')
-rwxr-xr-x[-rw-r--r--] | support/kconfig/list.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/support/kconfig/list.h b/support/kconfig/list.h index 685d80e..45cb237 100644..100755 --- a/support/kconfig/list.h +++ b/support/kconfig/list.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef LIST_H #define LIST_H @@ -34,7 +35,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 +44,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 +56,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), \ |