History

timekeeping: Remove static functions from kernel-doc markup

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 ]

Alex Shi committed 6 years ago

Commit 199d2801 parent a0f5a651 file · +5 −7Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/time/timekeeping.c+5−7
@@ -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 monotonic1419 * __timekeeping_set_tai_offset - Sets the TAI offset from UTC and monotonic
1420 *
1421 */1420 */
1422static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset)1421static 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 available1428 * change_clocksource - Swaps clocksources if a new one is available
1430 *1429 *
1431 * Accumulates current time interval and initializes new clocksource1430 * 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 secs2026 * accumulate_nsecs_to_secs - Accumulates nsecs into secs
2028 *2027 *
2029 * Helper function that accumulates the nsecs greater than a second2028 * 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 */
2034static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk)2032static 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 cycles2073 * logarithmic_accumulation - shifted accumulation of cycles
2076 *2074 *
2077 * This functions accumulates a shifted interval of cycles into2075 * 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_adjtimex2316 * timekeeping_validate_timex - Ensures the timex is ok for use in do_adjtimex
2319 */2317 */
2320static int timekeeping_validate_timex(const struct __kernel_timex *txc)2318static int timekeeping_validate_timex(const struct __kernel_timex *txc)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t