diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-08-12 12:31:27 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-08-12 12:31:27 +0100 |
commit | 656c0a6946f3bd99ee89486d34bcde8d09af2307 (patch) | |
tree | aa2580a06a2ffff9f510017551092672e7db79a3 /src/intel_list.h | |
parent | 5a9a3e73a9252cffbaf5f361e98c096095725a64 (diff) |
list: Add missing ';' for the compatiblity macro for intermediate xorg
Reported-by: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_list.h')
-rw-r--r-- | src/intel_list.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel_list.h b/src/intel_list.h index df912a83..4d7a1e51 100644 --- a/src/intel_list.h +++ b/src/intel_list.h @@ -396,13 +396,13 @@ static inline void list_move_tail(struct list *list, struct list *head) #define list_last_entry(ptr, type, member) \ list_entry((ptr)->prev, type, member) -#define list_for_each_entry_reverse(pos, head, member) \ +#define list_for_each_entry_reverse(pos, head, member) \ for (pos = __container_of((head)->prev, pos, member); \ &pos->member != (head); \ pos = __container_of(pos->member.prev, pos, member)) #define list_for_each_entry_safe_from(pos, tmp, head, member) \ - for (tmp = __container_of(pos->member.next, pos, member) \ + for (tmp = __container_of(pos->member.next, pos, member); \ &pos->member != (head); \ pos = tmp) |