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
14151415 }
14161416 }
14171417
1418−/**
1418+/*
14191419 * __timekeeping_set_tai_offset - Sets the TAI offset from UTC and monotonic
1420− *
14211420 */
14221421 static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset)
14231422 {
@@ -1425,7 +1424,7 @@ static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) · 1 unmodified line
14251424 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tai_offset, 0));
14261425 }
14271426
1428−/**
1427+/*
14291428 * change_clocksource - Swaps clocksources if a new one is available
14301429 *
14311430 * Accumulates current time interval and initializes new clocksource
@@ -2023,13 +2022,12 @@ static void timekeeping_adjust(struct timekeeper *tk, s64 offset) · 591 unmodified lines
20232022 }
20242023 }
20252024
2026−/**
2025+/*
20272026 * accumulate_nsecs_to_secs - Accumulates nsecs into secs
20282027 *
20292028 * Helper function that accumulates the nsecs greater than a second
20302029 * from the xtime_nsec field to the xtime_secs field.
20312030 * It also calls into the NTP code to handle leapsecond processing.
2032− *
20332031 */
20342032 static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk)
20352033 {
@@ -2071,7 +2069,7 @@ static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk) · 35 unmodified lines
20712069 return clock_set;
20722070 }
20732071
2074−/**
2072+/*
20752073 * logarithmic_accumulation - shifted accumulation of cycles
20762074 *
20772075 * 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
23142312 return base;
23152313 }
23162314
2317−/**
2315+/*
23182316 * timekeeping_validate_timex - Ensures the timex is ok for use in do_adjtimex
23192317 */
23202318 static 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