Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3740974pxj; Mon, 7 Jun 2021 19:47:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIU+1vcxsgPX0zyrB8jLkbmyCYF5zBtV/StIfAH7zhRiJx7xQSbP4pZN/oN1OTegGPkhqM X-Received: by 2002:a17:907:10d8:: with SMTP id rv24mr20813527ejb.542.1623120466326; Mon, 07 Jun 2021 19:47:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623120466; cv=none; d=google.com; s=arc-20160816; b=w+6b9km0dIL+IRd2a/6821iuYpC7yLT3j1fbhvZV7xtm2kGOA+J9QVmtI0k3eg9knJ wjzd5+3ctMZb5mcAvkBlKGf/c1PNJnZVhFaynEPP+rSE+INfKGSgbXTVkNbd82CasRE9 qzGB+3Ctkbcz2virRtJPptzxccRmsIqMNRKyFUxSw2ApSA5XQRO6HMI4/ycObGkCDs8p HeMVUJaOElepkGjffIbuRYXlfs4H+mUa4bQjwIHhp0bm6bLam7huQcucgQpaHcWblFUK YOM6p9J2RgjZzyKzXkXZlTmEq7QTc2iWiIt5mg4n2XcfK5JEq7KXGzgbbbM+EppFPSRQ dR0Q== 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=LAAVWtZzB5+Dsi1cOs/HnT2Z+80L0n5pOi8KWuePm2I=; b=XXhC+gPj/va+S9DdNzG2m0v42IT/iorxND2NoW5XlhMR6ZxtoXeNa6zg5G2eWaaSyr 060NG4EvS90wKl47bvoZTNaiuQBOle/fqgqPqj2JAdJa1AKE3/cXB8mL9EcGpTjVyUuy r2SXA/i7/8dDW5Tho2n3GWI++KYWzgj48PgUV4qcYKHxos9LbUWzFU03yGvX6ppr4OWG 7XLetMK3iQMz2oo/LGj4XVLdSMf7YfiKbVwG9VCbG8DlYqLR1RKrBT2EyPw1t57k127L 4dApbdgzJxwa4e+9ugF9lj23bZep2doE4MHyTqD1cab19p/LiCEaMXf4PpfCFRpiHnMh xg0w== 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 g15si6206266edb.340.2021.06.07.19.47.23; Mon, 07 Jun 2021 19:47:46 -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 S230435AbhFHCrL (ORCPT + 99 others); Mon, 7 Jun 2021 22:47:11 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:3092 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230314AbhFHCrK (ORCPT ); Mon, 7 Jun 2021 22:47:10 -0400 Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4FzZGf4Z09zWtjm; Tue, 8 Jun 2021 10:40:26 +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, 8 Jun 2021 10:45:17 +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:45:16 +0800 From: Baokun Li To: , , , , , , , , CC: , , , , Subject: [PATCH -next] x86/power: fix doc warnings in cpu.c Date: Tue, 8 Jun 2021 10:54:27 +0800 Message-ID: <20210608025427.2781445-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: dggems702-chm.china.huawei.com (10.3.19.179) 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/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 * * 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