Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp578730pxj; Thu, 17 Jun 2021 09:05:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhl6ZKAU+4X/cB1lS1aKxJSsMGvaa6OMc8Cn9/68kiiaLlxKawa6tlqRiIMRjHs9zkZPO1 X-Received: by 2002:a17:907:9618:: with SMTP id gb24mr6178540ejc.111.1623945926520; Thu, 17 Jun 2021 09:05:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623945926; cv=none; d=google.com; s=arc-20160816; b=N9J3lbuzwwn2+nqSVaNKAsUSUYgUoMkAiJC8+G+WQT74yV+mStHfYzWzLKtOW2L+4M 2Q4FHPtY4KGcaWt+hFT2PVWaYRD9WhLDhm26UNOCR3F5Q6Z0r8Z5rE6JhsMigTTxB50G 5gR2nXZK1v83NT61XxRHVm2O3DWNhlsVFCfdRrBTfIbd5CrDCmixM2VnZDp1k9Nqx82M yj52CE0PMgSsVaXJvYkq2y+TqHUHgRWnzZ3roc3pJu0ycZHsd7WqhhkPWJgpkQL9Vme+ QiucUk55gSfMjApP5yVE7hLHf5uiMqXU5ok7hSTiiXHqY4ejQWZVJCjYXViDRJ3o16Xt gYZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=oC5deIG40NoiZKemKVqpRg3hah2RwUir4ATSDp7s/lA=; b=t74lUGb+EvVlXMFSxktkkth49Oi2uZLw76bobt7BlBQLJZcOJDsBzpSS/UVkIbd0eB rvXnC07ZfXxuk8tvXJnhpMXjWBaw83FcUz4dpo0ZTS7TWYQFZ13Fbz4mzVN6cyK6BhlP x1TW91TMmZdA7c++fEvglx9+fGfpCCiretwDHCPTFYrEeryItRGYpoKDES3BxP9uvJlT clR03MFauOiASE9q3XVlIQ+B+orWVkPIwJINqBVZgz5qm6YxcugiGQYIMRA5zvcAd1HN y52zWSbGxFRxt9ubfy/UuuxXzVXGQiaT8sHFj5fLRzimM/Q2aIW0kQniubzZ21rnwbHE v0/Q== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si5749431eje.327.2021.06.17.09.04.57; Thu, 17 Jun 2021 09:05:26 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231438AbhFQMkO (ORCPT + 99 others); Thu, 17 Jun 2021 08:40:14 -0400 Received: from mail-oi1-f174.google.com ([209.85.167.174]:36642 "EHLO mail-oi1-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229891AbhFQMkO (ORCPT ); Thu, 17 Jun 2021 08:40:14 -0400 Received: by mail-oi1-f174.google.com with SMTP id r16so6372351oiw.3; Thu, 17 Jun 2021 05:38:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oC5deIG40NoiZKemKVqpRg3hah2RwUir4ATSDp7s/lA=; b=M4KloQ/g+7TTgtUWmX2kbvPuXy/dezMjPzGXIRbCo6pJUOiN+jh8XJGsdzws1mEFA7 Kaj0eu4O3B8xx520/BeTdxC7ee5rfWTY9vzQunMcOvCVJn1t8TqoPZFJH+IuP6kOBkbU bK8vcy9OMOSX7u/WlCMSQ5ZNDraXh5plr3d8OZe/5NG5/RrAIuwuIvERZM9iZegxnXzf yrmCXOF4SbY8VW6hxG4Qi3X1Jg6Kq5h6+lCg/WLdEdzqstao63zRee8l8xO0++wSc6xs 3BfraM0FoSCdFx3J9fj5VsD1apWiUXwILe/x6qIsjhoeQ6TqYbbA+1U+2zzSDby9h61u TVaw== X-Gm-Message-State: AOAM530pn30GXetsNlwAHNFO0hF50uWv+We6ZivfrrEwwoAaGC8O7oq9 bFmLGqKAl5VDSVESgW3ptpZvtroso/zf4TeUFvI= X-Received: by 2002:a05:6808:f08:: with SMTP id m8mr3108363oiw.69.1623933486213; Thu, 17 Jun 2021 05:38:06 -0700 (PDT) MIME-Version: 1.0 References: <20210615074317.3103832-1-libaokun1@huawei.com> In-Reply-To: <20210615074317.3103832-1-libaokun1@huawei.com> From: "Rafael J. Wysocki" Date: Thu, 17 Jun 2021 14:37:55 +0200 Message-ID: Subject: Re: [PATCH -next v2] acpi/nvs: fix doc warnings in nvs.c To: Baokun Li Cc: "Rafael J. Wysocki" , Len Brown , ACPI Devel Maling List , Linux Kernel Mailing List , Wei Yongjun , Yue Haibing , yangjihong1@huawei.com, yu kuai Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 15, 2021 at 9:34 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 > --- > V1->V2: > Fix the formatting of this kerneldoc comment > > drivers/acpi/nvs.c | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-) > > diff --git a/drivers/acpi/nvs.c b/drivers/acpi/nvs.c > index 7f02e399047c..a2b11069e792 100644 > --- a/drivers/acpi/nvs.c > +++ b/drivers/acpi/nvs.c > @@ -84,13 +84,13 @@ struct nvs_page { > 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 > + * suspend_nvs_register - register platform NVS memory region to save > + * @start: Physical address of the region. > + * @size: Size of the region. > * > - * 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 > - * be copied into separate RAM pages. > + * 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 > + * be copied into separate RAM pages. > */ > static int suspend_nvs_register(unsigned long start, unsigned long size) > { > @@ -125,7 +125,7 @@ static int suspend_nvs_register(unsigned long start, unsigned long size) > } > > /** > - * suspend_nvs_free - free data pages allocated for saving NVS regions > + * suspend_nvs_free - free data pages allocated for saving NVS regions > */ > void suspend_nvs_free(void) > { > @@ -149,7 +149,7 @@ void suspend_nvs_free(void) > } > > /** > - * suspend_nvs_alloc - allocate memory necessary for saving NVS regions > + * suspend_nvs_alloc - allocate memory necessary for saving NVS regions > */ > int suspend_nvs_alloc(void) > { > @@ -166,7 +166,7 @@ int suspend_nvs_alloc(void) > } > > /** > - * suspend_nvs_save - save NVS memory regions > + * suspend_nvs_save - save NVS memory regions > */ > int suspend_nvs_save(void) > { > @@ -195,10 +195,10 @@ int suspend_nvs_save(void) > } > > /** > - * suspend_nvs_restore - restore NVS memory regions > + * suspend_nvs_restore - restore NVS memory regions > * > - * This function is going to be called with interrupts disabled, so it > - * cannot iounmap the virtual addresses used to access the NVS region. > + * This function is going to be called with interrupts disabled, so it > + * cannot iounmap the virtual addresses used to access the NVS region. > */ > void suspend_nvs_restore(void) > { > -- Applied as 5.14 material under a slightly edited subject, thanks!