Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp950854pxb; Thu, 12 Nov 2020 23:26:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJw64zugmWjzg637Oxeu9Ow/l8eMpnvjXQF9uKV4RVPscmysDPh4Bi41OUqkgzrk2UZh/UlB X-Received: by 2002:a17:906:5c43:: with SMTP id c3mr804790ejr.390.1605252396194; Thu, 12 Nov 2020 23:26:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605252396; cv=none; d=google.com; s=arc-20160816; b=kJAi7QKIpqaaWWcYAge7hOPM6ODI9XWvoNUvzJ3GCJBVwgtwsEvV8xIolXKkxLpyhr 7F/4cZGXyp8nir6X/3Y/DsMH5EgzZOvpvqw1bqr+q0hmt2XpFMjXStGNlhJ7l1pDylXu 8yHauJzUr4vC6JWDKcgGSMa5PEM9rSh924ICb0bFpNKvs5uDSEQHXx3J4RPYiNgtVk8f LSb1Bl+fVakKXVtDCnbbMAq4NS32ZBWh2rfDV5km/OKzqIUOj338gEQg04vfW1TTKsEJ MBAFFLnNzcd8tImh71mAZs2LXgAd2xVFl2TH8ZWOb0Q9bqUzVsyrS0fFbC6DwZSCBsrh zZXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=lNZeNfdO1MH6ttbm3Sd6PVMnzluWf8qvoaOzSXn44yQ=; b=eE+Ir/Ac0v2DHoI/oHjvt5qZsc1Nv/DfRgDXKjVBdMNleJ1DfkByftXmpC6m6ThOe4 5lJI5E2W9TryXeAy53+zazXMexeuJCNlz0z3y+KONp+SBhN3SBrYwbriNJYu7teAsu32 hLl8XMi6N+KsUcyP1kMsW9TG8RQQGfEFVfi36SN9bjvQViAlH7QTD0/+u28j3xGvwTDb YMwF+bRcSmHHVaBGbRdUMHcsf9duwO0MFcO0PNNpZKdlIjh9zGBuPkejOGMoFi5I+p2c Z1ENSlJjVuEvaKQvp3CpN1gV26F4hjD6VTOj5FiXeF5jBS/t3QopFYEGH5+d/r5l95dp 2UpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k7si5118686ejp.590.2020.11.12.23.26.13; Thu, 12 Nov 2020 23:26:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726396AbgKMHYq (ORCPT + 99 others); Fri, 13 Nov 2020 02:24:46 -0500 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]:36839 "EHLO out30-132.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726217AbgKMHYn (ORCPT ); Fri, 13 Nov 2020 02:24:43 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R211e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=alex.shi@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0UFAebxt_1605252278; Received: from aliy80.localdomain(mailfrom:alex.shi@linux.alibaba.com fp:SMTPD_---0UFAebxt_1605252278) by smtp.aliyun-inc.com(127.0.0.1); Fri, 13 Nov 2020 15:24:39 +0800 From: Alex Shi To: john.stultz@linaro.org Cc: Thomas Gleixner , Stephen Boyd , linux-kernel@vger.kernel.org Subject: [PATCH 5/6] timekeeping: add ts/tk explaination for kernel-doc Date: Fri, 13 Nov 2020 15:24:34 +0800 Message-Id: <1605252275-63652-5-git-send-email-alex.shi@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1605252275-63652-1-git-send-email-alex.shi@linux.alibaba.com> References: <1605252275-63652-1-git-send-email-alex.shi@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org this patch fixed kernel-doc mark incorrection: kernel/time/timekeeping.c:1543: warning: Function parameter or member 'ts' not described in 'read_persistent_clock64' kernel/time/timekeeping.c:764: warning: Function parameter or member 'tk' not described in 'timekeeping_forward_now' kernel/time/timekeeping.c:1331: warning: Function parameter or member 'ts' not described in 'timekeeping_inject_offset' kernel/time/timekeeping.c:1331: warning: Excess function parameter 'tv' description in 'timekeeping_inject_offset' Signed-off-by: Alex Shi Cc: John Stultz Cc: Thomas Gleixner Cc: Stephen Boyd Cc: linux-kernel@vger.kernel.org --- kernel/time/timekeeping.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index 9bee13d94d70..08ab749a76fc 100644 --- a/kernel/time/timekeeping.c +++ b/kernel/time/timekeeping.c @@ -759,6 +759,7 @@ static void timekeeping_update(struct timekeeper *tk, unsigned int action) /** * timekeeping_forward_now - update clock to the current time + * @tk: pointer to time clock which will be correct. * * Forward the current clock to update its state since the last call to * update_wall_time(). This is useful before significant clock changes, @@ -1327,7 +1328,7 @@ EXPORT_SYMBOL(do_settimeofday64); /** * timekeeping_inject_offset - Adds or subtracts from the current time. - * @tv: pointer to the timespec variable containing the offset + * @ts: pointer to the timespec variable containing the offset * * Adds or subtracts an offset value from the current time. */ @@ -1536,6 +1537,7 @@ u64 timekeeping_max_deferment(void) /** * read_persistent_clock64 - Return time from the persistent clock. + * @ts: pointer to timespec to initialize. * * Weak dummy function for arches that do not yet support it. * Reads the time from the battery backed persistent clock. @@ -1640,6 +1642,7 @@ static struct timespec64 timekeeping_suspend_time; /** * __timekeeping_inject_sleeptime - Internal function to add sleep interval + * @tk: pointer to a timekeeper to be updated * @delta: pointer to a timespec delta value * * Takes a timespec offset measuring a suspend interval and properly -- 2.29.GIT