Various static functions in the timekeeping code have function comments which pretend to be kernel-doc, but are incomplete and trigger parser warnings. As these functions are local to the timekeeping core code there is no need to expose them via kernel-doc. Remove the double star kernel-doc marker and remove excess newlines. [ tglx: Massaged changelog and removed excess newlines ]
Unified · Split
| @@ -1415,9 +1415,8 @@ void timekeeping_warp_clock(void) · 1414 unmodified lines | |||
| 1415 | } | 1415 | } |
| 1416 | } | 1416 | } |
| 1417 | 1417 | ||
| 1418 | /** | 1418 | /* |
| 1419 | * __timekeeping_set_tai_offset - Sets the TAI offset from UTC and monotonic | 1419 | * __timekeeping_set_tai_offset - Sets the TAI offset from UTC and monotonic |
| 1420 | * | ||
| 1421 | */ | 1420 | */ |
| 1422 | static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) | 1421 | static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) |
| 1423 | { | 1422 | { |
| @@ -1425,7 +1424,7 @@ static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) · 1 unmodified line | |||
| 1425 | tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tai_offset, 0)); | 1424 | tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tai_offset, 0)); |
| 1426 | } | 1425 | } |
| 1427 | 1426 | ||
| 1428 | /** | 1427 | /* |
| 1429 | * change_clocksource - Swaps clocksources if a new one is available | 1428 | * change_clocksource - Swaps clocksources if a new one is available |
| 1430 | * | 1429 | * |
| 1431 | * Accumulates current time interval and initializes new clocksource | 1430 | * Accumulates current time interval and initializes new clocksource |
| @@ -2023,13 +2022,12 @@ static void timekeeping_adjust(struct timekeeper *tk, s64 offset) · 591 unmodified lines | |||
| 2023 | } | 2022 | } |
| 2024 | } | 2023 | } |
| 2025 | 2024 | ||
| 2026 | /** | 2025 | /* |
| 2027 | * accumulate_nsecs_to_secs - Accumulates nsecs into secs | 2026 | * accumulate_nsecs_to_secs - Accumulates nsecs into secs |
| 2028 | * | 2027 | * |
| 2029 | * Helper function that accumulates the nsecs greater than a second | 2028 | * Helper function that accumulates the nsecs greater than a second |
| 2030 | * from the xtime_nsec field to the xtime_secs field. | 2029 | * from the xtime_nsec field to the xtime_secs field. |
| 2031 | * It also calls into the NTP code to handle leapsecond processing. | 2030 | * It also calls into the NTP code to handle leapsecond processing. |
| 2032 | * | ||
| 2033 | */ | 2031 | */ |
| 2034 | static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk) | 2032 | static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk) |
| 2035 | { | 2033 | { |
| @@ -2071,7 +2069,7 @@ static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk) · 35 unmodified lines | |||
| 2071 | return clock_set; | 2069 | return clock_set; |
| 2072 | } | 2070 | } |
| 2073 | 2071 | ||
| 2074 | /** | 2072 | /* |
| 2075 | * logarithmic_accumulation - shifted accumulation of cycles | 2073 | * logarithmic_accumulation - shifted accumulation of cycles |
| 2076 | * | 2074 | * |
| 2077 | * This functions accumulates a shifted interval of cycles into | 2075 | * This functions accumulates a shifted interval of cycles into |
| @@ -2314,7 +2312,7 @@ ktime_t ktime_get_update_offsets_now(unsigned int *cwsseq, ktime_t *offs_real, · 236 unmodified lines | |||
| 2314 | return base; | 2312 | return base; |
| 2315 | } | 2313 | } |
| 2316 | 2314 | ||
| 2317 | /** | 2315 | /* |
| 2318 | * timekeeping_validate_timex - Ensures the timex is ok for use in do_adjtimex | 2316 | * timekeeping_validate_timex - Ensures the timex is ok for use in do_adjtimex |
| 2319 | */ | 2317 | */ |
| 2320 | static int timekeeping_validate_timex(const struct __kernel_timex *txc) | 2318 | static int timekeeping_validate_timex(const struct __kernel_timex *txc) |