Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3736279pxj; Mon, 7 Jun 2021 19:36:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynmsJpNrUUxkhDkuDnUwLUw28vmP5F9+eNINUYkHTJiWsqkLgpxgbLQD1KFLtizda+M4xz X-Received: by 2002:a17:906:ecb9:: with SMTP id qh25mr21056306ejb.283.1623119808021; Mon, 07 Jun 2021 19:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623119808; cv=none; d=google.com; s=arc-20160816; b=l7vvEAiicyftGgUW+ZZ3t83kyqxmIPzi4cqmrXACb2ZoOKb6lqxKcpVKvmb9nGBDBl 3YrQVc92VUmi1RF2wMmIgxaogxi5WIvPbCTz1IVfIf1/ijcQ/XCAtCqyRCv048n3QIqt XTYDjrurrn6eH5FfDg6ptKXZYr+FK5XdjZKqHMLqokxpuNw+JAmRFdE/+JrsVnWpIWLe HyvPwsvgrroiGZyplBSPnonFFpvgZhSqg1/mGYzyTW2uWqSp0nMcvQoaBtzVYsa+Acdi +Mldz9BPXRmvxSj+R8RnDUJC5Ev6p5rJfQhZKm6ilbn8gRfA7kPpHwIj9pGyozoC0gPq xD9Q== 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=42wC4qEPOBIG+bdQuya6V2EfQnyXNqweQsQ8L3YmEdw=; b=G4iMSRUNTAY7eYyYRxhKocFJ9bShvu25k91ofw2k8waLOxjpjlSUiGjYoIGqjI80Wm /pgd3bEutZ7I25p9RHjFGs7mWZnMbn51jJt6YdRlAuWioZH+giLJofsDVWD/aeRbA46D qHX9aaknV7q8Cw6N2sd3zYpBoxArsqd3dpTP31J8dq2rJtlXYBE6VHZXLWpnB8oi16Rd TGOq/xNqswprPkhTRnmA9CVZHncKt2OCohXwZnh+n9u76PzzIegamNb6uVMClFxJcg9e DOUK79JBHnOdLZ3G8IJq0knOsvGLCJFmjfyx/5/MlXzs34CuFRcj7huEOWiRl7a0Kbb7 M6Bw== 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 z22si529911edc.56.2021.06.07.19.36.25; Mon, 07 Jun 2021 19:36:48 -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 S230344AbhFHCfs (ORCPT + 99 others); Mon, 7 Jun 2021 22:35:48 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:8068 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230313AbhFHCfs (ORCPT ); Mon, 7 Jun 2021 22:35:48 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FzZ3s59XmzYsSr for ; Tue, 8 Jun 2021 10:31:05 +0800 (CST) Received: from dggpeml500020.china.huawei.com (7.185.36.88) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 8 Jun 2021 10:33: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; Tue, 8 Jun 2021 10:33:54 +0800 From: Baokun Li To: , CC: , , , , Subject: [PATCH -next] clockevents: fix doc warnings in clockevents.c Date: Tue, 8 Jun 2021 10:43:05 +0800 Message-ID: <20210608024305.2750999-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: dggems704-chm.china.huawei.com (10.3.19.181) 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 Add description for `tick_cleanup_dead_cpu` to fix the W=1 warnings: kernel/time/clockevents.c:634: warning: Function parameter or member 'cpu' not described in 'tick_cleanup_dead_cpu' Signed-off-by: Baokun Li --- kernel/time/clockevents.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c index 0056d2bed53e..bb9d2fe58480 100644 --- a/kernel/time/clockevents.c +++ b/kernel/time/clockevents.c @@ -629,6 +629,7 @@ void tick_offline_cpu(unsigned int cpu) /** * tick_cleanup_dead_cpu - Cleanup the tick and clockevents of a dead cpu + * @cpu: The dead CPU */ void tick_cleanup_dead_cpu(int cpu) { -- 2.31.1