Skip to content

Commit e1b6a78

Browse files
Yang LiKAGA-KOKO
authored andcommitted
timekeeping: Add missing kernel-doc function comments
Fixup the incomplete kernel-doc style comments for do_adjtimex() and hardpps() by documenting the function parameters. Reported-by: Abaci Robot <[email protected]> Signed-off-by: Yang Li <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9301
1 parent 9403408 commit e1b6a78

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kernel/time/timekeeping.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2547,6 +2547,7 @@ EXPORT_SYMBOL_GPL(random_get_entropy_fallback);
25472547

25482548
/**
25492549
* do_adjtimex() - Accessor function to NTP __do_adjtimex function
2550+
* @txc: Pointer to kernel_timex structure containing NTP parameters
25502551
*/
25512552
int do_adjtimex(struct __kernel_timex *txc)
25522553
{
@@ -2615,6 +2616,8 @@ int do_adjtimex(struct __kernel_timex *txc)
26152616
#ifdef CONFIG_NTP_PPS
26162617
/**
26172618
* hardpps() - Accessor function to NTP __hardpps function
2619+
* @phase_ts: Pointer to timespec64 structure representing phase timestamp
2620+
* @raw_ts: Pointer to timespec64 structure representing raw timestamp
26182621
*/
26192622
void hardpps(const struct timespec64 *phase_ts, const struct timespec64 *raw_ts)
26202623
{

0 commit comments

Comments
 (0)