Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3437342pxj; Tue, 15 Jun 2021 00:30:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyID/qkEYKcuX6KX+wHTJ7/AvKlq3jkWvv6+2gjzeXQX7jLJZyyBRxsBOnSdp2Vriiu6EGs X-Received: by 2002:a05:6e02:933:: with SMTP id o19mr16393618ilt.101.1623742243023; Tue, 15 Jun 2021 00:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623742243; cv=none; d=google.com; s=arc-20160816; b=TjWy8mPm+W1JZevig6M3CzP0X1eomI57xoyFZqHQOAK3VWGSi84trJMsrFh/DNvZda 6gCI2/Z279ox8BfogzweFgyMnu5vYd2X74O/rfhwQMtBM491+u0fbBkF/S0kyQUlTbXv GAA/EOxukktbJMcnNyA6vryyh0pqn5y9rSECxmNUBwlV233BBxBcCU9WRlwxHCS3JFeE 3AqvAfQxPwpRcd7HmWZysYU1kgSs/OXu8n83AJFZuygxesfXp9B1fX+grCKVSwA0hPIg erI5IOOJfAZW/t7OiJNHB6mPP9kv5xYW0DnMLTRvpAUC3Y0s9xQpbXFhRPXbTgrCes6w s6mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=MqNKxvu8cbs/3mkM8AtFB7g3xa5Ieojzd0uhrxikskY=; b=Rqo5XIw1A+7hRFoLKA9JzTi+MDDC8JozISHVIhe7zyXNzcxcgrXaEyf9uvgDa1iZl0 /SteWALgk2ai9FEoQaQ0+BJgpA9K9DJwDvCEXQFsNp9OMMbywfXaCIq85gI6+1ylhYss BchSl+Dd53Urdqr9Ka0+5AGIiK8SqeJVv4Wgl6MlvqzoybhdaqTP8Rv6kVJivYjSYsu/ /3SybAvKq16pmkjX8a67p5Al6y7tKxp1Slk9mXCQGLM/G65vOV3kMAg8UpT9jokjPesK x5DsCVUdSiWlxK9p/FD7ys1s4WLwQPR1VeV+KrpCC+6+SWp16s8siazmHqAQpDfKHYv7 bQwQ== 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 k7si18977051jad.43.2021.06.15.00.30.30; Tue, 15 Jun 2021 00:30:43 -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 S230184AbhFOHcD (ORCPT + 99 others); Tue, 15 Jun 2021 03:32:03 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:6504 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229788AbhFOHcC (ORCPT ); Tue, 15 Jun 2021 03:32:02 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4G40J53PsgzZgWd; Tue, 15 Jun 2021 15:27:01 +0800 (CST) Received: from dggpeml500020.china.huawei.com (7.185.36.88) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 15 Jun 2021 15:29:53 +0800 Received: from [10.174.177.174] (10.174.177.174) 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, 15 Jun 2021 15:29:52 +0800 Subject: Re: [PATCH -next] acpi/nvs: fix doc warnings in nvs.c To: "Rafael J. Wysocki" CC: "Rafael J. Wysocki" , Len Brown , "ACPI Devel Maling List" , Linux Kernel Mailing List , Wei Yongjun , "Yue Haibing" , , yu kuai References: <20210608023841.2746826-1-libaokun1@huawei.com> From: "libaokun (A)" Message-ID: <5114c2aa-e198-419f-c5f0-68e989dbb6fc@huawei.com> Date: Tue, 15 Jun 2021 15:29:52 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.177.174] 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 Thank you for your advice. I'm about to send a patch v2 with the changes suggested by you. Best Regards. 在 2021/6/9 21:12, Rafael J. Wysocki 写道: > On Tue, Jun 8, 2021 at 4:29 AM Baokun Li wrote: >> Fixes the following W=1 kernel build warning(s): >> >> drivers/acpi/nvs.c:94: warning: Function parameter or >> member 'start' not described in 'suspend_nvs_register' >> drivers/acpi/nvs.c:94: warning: Function parameter or >> member 'size' not described in 'suspend_nvs_register' >> >> Signed-off-by: Baokun Li >> --- >> drivers/acpi/nvs.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/acpi/nvs.c b/drivers/acpi/nvs.c >> index 9f8712a557b3..4609a8a2e42d 100644 >> --- a/drivers/acpi/nvs.c >> +++ b/drivers/acpi/nvs.c >> @@ -83,8 +83,8 @@ static LIST_HEAD(nvs_list); >> >> /** >> * suspend_nvs_register - register platform NVS memory region to save >> - * @start - physical address of the region >> - * @size - size of the region >> + * @start: physical address of the region >> + * @size: size of the region > The format of this kerneldoc comment is still not following the common > style after your change. > > Please fix it completely. > >> * >> * The NVS region need not be page-aligned (both ends) and we arrange >> * things so that the data from page-aligned addresses in this region will >> -- >> 2.31.1 >> > .