sparse complains: CHECK kernel/time/jiffies.c kernel/time/jiffies.c:92:20: warning: symbol 'refined_jiffies' was not declared. Should it be static? Its only used in file scope. Make it static.
Unified · Split
| @@ -89,7 +89,7 @@ struct clocksource * __init __weak clocksource_default_clock(void) · 88 unmodified lines | ||
| 89 | 89 | return &clocksource_jiffies; |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | −struct clocksource refined_jiffies; | |
| 92 | +static struct clocksource refined_jiffies; | |
| 93 | 93 | |
| 94 | 94 | int register_refined_jiffies(long cycles_per_second) |
| 95 | 95 | { |