__packed is only defined in kernel space, so we should use __attribute__((packed)) for the code shared between kernel and user space. Two __attribute() annotations are replaced with __attribute__() too.
Showing the changes to include/linux/netfilter (1 of 10 files). Show all
Unified · Split
| @@ -39,7 +39,7 @@ struct idletimer_tg_info { · 38 unmodified lines | ||
| 39 | 39 | char label[MAX_IDLETIMER_LABEL_SIZE]; |
| 40 | 40 | |
| 41 | 41 | /* for kernel module internal use only */ |
| 42 | − struct idletimer_tg *timer __attribute((aligned(8))); | |
| 42 | + struct idletimer_tg *timer __attribute__((aligned(8))); | |
| 43 | 43 | }; |
| 44 | 44 | |
| 45 | 45 | #endif |