diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/kconfig/list.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/list.h b/scripts/kconfig/list.h index ea1d58119d20..685d80e1bb0e 100644 --- a/scripts/kconfig/list.h +++ b/scripts/kconfig/list.h | |||
| @@ -125,7 +125,7 @@ static inline void __list_del(struct list_head *prev, struct list_head *next) | |||
| 125 | static inline void list_del(struct list_head *entry) | 125 | static inline void list_del(struct list_head *entry) |
| 126 | { | 126 | { |
| 127 | __list_del(entry->prev, entry->next); | 127 | __list_del(entry->prev, entry->next); |
| 128 | entry->next = LIST_POISON1; | 128 | entry->next = (struct list_head*)LIST_POISON1; |
| 129 | entry->prev = LIST_POISON2; | 129 | entry->prev = (struct list_head*)LIST_POISON2; |
| 130 | } | 130 | } |
| 131 | #endif | 131 | #endif |
