Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp724478pxj; Fri, 11 Jun 2021 09:51:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhzifaCBW1nqmZe25FQr1kiAHoUnkk5v/JvclzQHrq82Rec2/c0cWBt7BxtL9mU6nvo+Ib X-Received: by 2002:a17:906:161b:: with SMTP id m27mr4520591ejd.89.1623430282531; Fri, 11 Jun 2021 09:51:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623430282; cv=none; d=google.com; s=arc-20160816; b=CxTI4NBHdmmneVT+mqfdZCqppKGBFNYDB4kB3fMWEknQL6CPRRWk0hOiGsH0e5l65K uKy9gSkSEhbYhUQt/MKc6dvaBk/FJbBUFqRyi/Z/1HiqUJQjGwvrDhQMvm2pxRGXGbsH e8o5J9ZBGOlc8bn47cWJZdVXAS+jAFBsa2CHZH9OKGArLGlVS8Jy8zTmuZRMuAk+a9eL 0iRhlVsSiFtZDWpDidciRiWZUXBLe3ANudSg5BWSGsr/gPq4OaQ3BIwvAIUwvKAsbXrN UeSqBh9wIia3l2e//7ZNmQYZeaYKYNryk4IMXplQV7pM1dwn67ZrNhHlci/3R9YkRkQ9 csbQ== 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=QyxLEXh/TeBpOGT4HbU2trqOosLmsNMbx1D8aYLqPns=; b=QVzCMwdmHOztGMH0O8sQSo5O4SyfiAZowvKrQjSObuS1Dqnx0ZnsEiiTyEPzWO0H01 k3HbgZvJt/qwZtbJwwJEA4Ltge563alVvrRcnNg9K9dYdTyimSNKz3B3SRXS5BEiDG7w l/A19eovNCtSFoyLxLdKlYrIpLa3WrhQIHnZJTiC74EPTi1VXFvt4xza2xTdCf/1A2no e/rtE3i/8kYdl/c0v41F4LUidRAufMztm5Jiz3Dl/rIvgsdsdAC5PptiQzbEvFD5RJgS VliZAjwUgG5IIQ6CRQRbS+SdF4dA1RePl7WNqnK0GL0gjC44dGkXbkbaMbujMgNZ0jki +41A== 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 n30si5593299ejl.424.2021.06.11.09.50.59; Fri, 11 Jun 2021 09:51:22 -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 S229935AbhFKQtm (ORCPT + 99 others); Fri, 11 Jun 2021 12:49:42 -0400 Received: from mail-ot1-f47.google.com ([209.85.210.47]:35440 "EHLO mail-ot1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231542AbhFKQtN (ORCPT ); Fri, 11 Jun 2021 12:49:13 -0400 Received: by mail-ot1-f47.google.com with SMTP id 69-20020a9d0a4b0000b02902ed42f141e1so3766272otg.2; Fri, 11 Jun 2021 09:47:15 -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=QyxLEXh/TeBpOGT4HbU2trqOosLmsNMbx1D8aYLqPns=; b=qebnbQZJwyEtpLLbvogIeQ4tFK0X0HKb5O5bu7xVUmaOEDy4lcZnU1SUsMg8iX9jDI YFOL06yN8wzANtPQOKYBM8W3EIaKmQDGDaPX3JCsG6RWRpmlIT3Xz+ukPOXyUChz3jYY 0C6AvOHP+tDrVHthnTAcbM0sLyV7QvD6qN1dn7eO0hDI5dovI0eSySpoHSgB+HyS5uLc iy/dMDnCxynFnrVwLAv2CSEGv3gA1ezUos8uSM0avjQjiFS3M0F+qVNQ5J2aNCTEFvhx 8YBE5hTuQ9LwyN4Ue+eZgthI/hnVUaWtizDUWgV1ngHWlrSZZX6SoALn7ZjNzcpnL2i5 QaAw== X-Gm-Message-State: AOAM533o1MVgBIe1nBiU1IzNHnFD32pAS7EEfxGbKngyWCiyJbU1Yf4H BbWzF1CpL3NTbW8ZiKAoiqAS3+IrR1PdXZh1x2I= X-Received: by 2002:a9d:6c4d:: with SMTP id g13mr3938217otq.321.1623430034726; Fri, 11 Jun 2021 09:47:14 -0700 (PDT) MIME-Version: 1.0 References: <20210608025427.2781445-1-libaokun1@huawei.com> In-Reply-To: <20210608025427.2781445-1-libaokun1@huawei.com> From: "Rafael J. Wysocki" Date: Fri, 11 Jun 2021 18:47:03 +0200 Message-ID: Subject: Re: [PATCH -next] x86/power: fix doc warnings in cpu.c To: Baokun Li Cc: "Rafael J. Wysocki" , Pavel Machek , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "the arch/x86 maintainers" , "H. Peter Anvin" , Linux PM , 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 8, 2021 at 4:45 AM Baokun Li wrote: > > Fixes the following W=1 kernel build warning(s): > > arch/x86/power/cpu.c:76: warning: Function parameter or > member 'ctxt' not described in '__save_processor_state' > arch/x86/power/cpu.c:192: warning: Function parameter or > member 'ctxt' not described in '__restore_processor_state' > > Signed-off-by: Baokun Li > --- > arch/x86/power/cpu.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/power/cpu.c b/arch/x86/power/cpu.c > index 3a070e7cdb8b..2640b9128479 100644 > --- a/arch/x86/power/cpu.c > +++ b/arch/x86/power/cpu.c > @@ -60,7 +60,7 @@ static void msr_restore_context(struct saved_context *ctxt) > /** > * __save_processor_state - save CPU registers before creating a > * hibernation image and before restoring the memory state from it > - * @ctxt - structure to store the registers contents in > + * @ctxt: structure to store the registers contents in Any chance to fix the formatting of this kerneldoc comment too in this patch? > * > * NOTE: If there is a CPU register the modification of which by the > * boot kernel (ie. the kernel used for loading the hibernation image) > @@ -183,7 +183,7 @@ static void fix_processor_context(void) > /** > * __restore_processor_state - restore the contents of CPU registers saved > * by __save_processor_state() > - * @ctxt - structure to load the registers contents from > + * @ctxt: structure to load the registers contents from > * > * The asm code that gets us here will have restored a usable GDT, although > * it will be pointing to the wrong alias. > -- > 2.31.1 >