Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp435331pxj; Thu, 10 Jun 2021 04:35:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKPYbqTeM9Unfiv0HP7OfqvTUklj9qcox3eFRT9qR/Jlnzu1te9mJ77HHaw8aD4yBhoHyq X-Received: by 2002:a17:906:6814:: with SMTP id k20mr3953648ejr.455.1623324925717; Thu, 10 Jun 2021 04:35:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623324925; cv=none; d=google.com; s=arc-20160816; b=n6YJ9qObpXpp3p4WXjhYmxchzwc4Mr9erNsn9C3kyTjrnKviwWVmTFaR8q3M+QIs4g 8Fo81gVNe61Zl548NXTOraa/KaG9465rv8s6r7JDX/cZVYcdIF5jKjX/QgQvCaAAunoS f8qhdkscPgqIL3vxXM0JmSEedq6aPzRHdXXPNpnQmtDTqBMYCcYeSlUl+oGzJieyAmUb cBWFmiRGRbr2Kna4U7Lo7TqKGSrDUna8SYCdcd8OSv8LB6ZHvt8xpCm2VOl6P4xfQYIr +OhnLSOzMo+sD0z7Wj9r7Z690ndui1oIh8M+yoiCGElhj++9Jgp3uco6U8oV9LFoj74B rp0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Kv+7ckwoyh865jbrS5jPPK296kyEVk2kSygspXPycPU=; b=dIbZK3B5jQzuIR6GTGG/a2Rk72IzmPdwsOSoBE1j6pEWVVmU6iS9WlHw1QO6lxPaDc Kqu1hO6KGrE/yQLiYBlHOjAaSWRVc0E/FUAoIoIuzCXvNR2Mv9/faMNF4IBtmILPMx1E 6Ryf6OCnjHyjwsVu3OUioXnxMb/HfOTYRK1+AVy7gjrdewQrGC92pTjZHZa5qcLGEcQo YktWrtw2ywXqBr3+3Qs7x/1AYwzANS2vIrDwZij/540MZGF5X2CSEmVzhjZbD9hN2H8F y3rqgdxU6uyUpjB3tVfh/bS8v8RQElOLyj0TfQ9mpnZGnCx62KIFtSh5pucIDMIttvJy OwVg== 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=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c14si2167214edr.15.2021.06.10.04.35.01; Thu, 10 Jun 2021 04:35:25 -0700 (PDT) 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=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230188AbhFJLex (ORCPT + 99 others); Thu, 10 Jun 2021 07:34:53 -0400 Received: from szxga08-in.huawei.com ([45.249.212.255]:5322 "EHLO szxga08-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229895AbhFJLew (ORCPT ); Thu, 10 Jun 2021 07:34:52 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4G11tT4ZHYz1BL01; Thu, 10 Jun 2021 19:28:01 +0800 (CST) Received: from dggpeml500020.china.huawei.com (7.185.36.88) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 10 Jun 2021 19:32:54 +0800 Received: from huawei.com (10.175.127.227) by dggpeml500020.china.huawei.com (7.185.36.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 10 Jun 2021 19:32:53 +0800 From: Baokun Li To: , , , , , , , , , CC: , , , , Subject: [PATCH -next] x86/tsc: fix doc warnings in tsc.c Date: Thu, 10 Jun 2021 19:42:01 +0800 Message-ID: <20210610114201.3440584-1-libaokun1@huawei.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.127.227] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggpeml500020.china.huawei.com (7.185.36.88) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): arch/x86/kernel/tsc.c:1275: warning: Excess function parameter 'cycles' description in 'convert_art_ns_to_tsc' arch/x86/kernel/tsc.c:1275: warning: Excess function parameter 'cs' description in 'convert_art_ns_to_tsc' arch/x86/kernel/tsc.c:1309: warning: Function parameter or member 'work' not described in 'tsc_refine_calibration_work' Signed-off-by: Baokun Li --- arch/x86/kernel/tsc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index 2e076a459a0c..312591c8e3d6 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c @@ -1265,8 +1265,8 @@ EXPORT_SYMBOL(convert_art_to_tsc); * Return: * struct system_counterval_t - system counter value with the pointer to the * corresponding clocksource - * @cycles: System counter value - * @cs: Clocksource corresponding to system counter value. Used + * cycles: System counter value + * cs: Clocksource corresponding to system counter value. Used * by timekeeping code to verify comparability of two cycle * values. */ @@ -1293,7 +1293,7 @@ static void tsc_refine_calibration_work(struct work_struct *work); static DECLARE_DELAYED_WORK(tsc_irqwork, tsc_refine_calibration_work); /** * tsc_refine_calibration_work - Further refine tsc freq calibration - * @work - ignored. + * @work: ignored. * * This functions uses delayed work over a period of a * second to further refine the TSC freq value. Since this is -- 2.31.1