From: Yang Li Date: Fri, 7 Jun 2024 09:06:56 +0000 (+0800) Subject: timekeeping: Add missing kernel-doc function comments X-Git-Tag: v6.11-rc1~228^2~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1b6a78b58aa859c66a32cfaeb121df87631d4ed;p=thirdparty%2Flinux.git 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 Signed-off-by: Yang Li Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20240607090656.104883-1-yang.lee@linux.alibaba.com Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9301 --- diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index da984a368a959..2fa87dcfeda9c 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -2547,6 +2547,7 @@ EXPORT_SYMBOL_GPL(random_get_entropy_fallback); /** * do_adjtimex() - Accessor function to NTP __do_adjtimex function + * @txc: Pointer to kernel_timex structure containing NTP parameters */ int do_adjtimex(struct __kernel_timex *txc) { @@ -2615,6 +2616,8 @@ int do_adjtimex(struct __kernel_timex *txc) #ifdef CONFIG_NTP_PPS /** * hardpps() - Accessor function to NTP __hardpps function + * @phase_ts: Pointer to timespec64 structure representing phase timestamp + * @raw_ts: Pointer to timespec64 structure representing raw timestamp */ void hardpps(const struct timespec64 *phase_ts, const struct timespec64 *raw_ts) {