kernel/timer.c defines a (per-cpu) pointer to tvec_base_t, but initializes it using { &a_tvec_base_t }, which sparse warns about; change this to just &a_tvec_base_t.
Unified · Split
| @@ -84,7 +84,7 @@ typedef struct tvec_t_base_s tvec_base_t; · 83 unmodified lines | ||
| 84 | 84 | |
| 85 | 85 | tvec_base_t boot_tvec_bases; |
| 86 | 86 | EXPORT_SYMBOL(boot_tvec_bases); |
| 87 | −static DEFINE_PER_CPU(tvec_base_t *, tvec_bases) = { &boot_tvec_bases }; | |
| 87 | +static DEFINE_PER_CPU(tvec_base_t *, tvec_bases) = &boot_tvec_bases; | |
| 88 | 88 | |
| 89 | 89 | static inline void set_running_timer(tvec_base_t *base, |
| 90 | 90 | struct timer_list *timer) |