File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ static inline void list_move_tail(struct list_head *node,
416
416
* works in the same way as BUILD_BUG_ON_ZERO macro of Linux kernel.
417
417
*/
418
418
#define list_for_each_entry (entry , head , member ) \
419
- for (entry = (void *) 1; sizeof(struct { int : -1; }); ++(entry))
419
+ for (entry = (void *) 1; sizeof(struct { int i : -1; }); ++(entry))
420
420
#endif
421
421
422
422
/**
@@ -457,8 +457,8 @@ static inline void list_move_tail(struct list_head *node,
457
457
&entry->member != (head); entry = safe, \
458
458
safe = list_entry(safe->member.next, typeof(*entry), member))
459
459
#else
460
- #define list_for_each_entry_safe (entry , safe , head , member ) \
461
- for (entry = safe = (void *) 1; sizeof(struct { int : -1; }); \
460
+ #define list_for_each_entry_safe (entry , safe , head , member ) \
461
+ for (entry = (void *) 1; sizeof(struct { int i : -1; }); \
462
462
++(entry), ++(safe))
463
463
#endif
464
464
Original file line number Diff line number Diff line change 1
1
db6784ff3917888db4d1dceaa0570d99ed40e762 queue.h
2
- 27d7a57c6bab59beda9178f240db1aa7c0062361 list.h
2
+ 9be9666430f392924f5d27caa71a412527bf9267 list.h
3
3
3bb0192cee08d165fd597a9f6fbb404533e28fcf scripts/check-commitlog.sh
You can’t perform that action at this time.
0 commit comments