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.
Showing the changes to kernel/timer.c (1 of 1 file). Show all
Unified · Split
| @@ -84,7 +84,7 @@ typedef struct tvec_t_base_s tvec_base_t; · 83 unmodified lines | |||
| 84 | 84 | ||
| 85 | tvec_base_t boot_tvec_bases; | 85 | tvec_base_t boot_tvec_bases; |
| 86 | EXPORT_SYMBOL(boot_tvec_bases); | 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 | static inline void set_running_timer(tvec_base_t *base, | 89 | static inline void set_running_timer(tvec_base_t *base, |
| 90 | struct timer_list *timer) | 90 | struct timer_list *timer) |