Message ID | 20240226090411.1925770-1-chentao@kylinos.cn |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-81002-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1963622dyb; Mon, 26 Feb 2024 01:41:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWshdT1DX2Atm1Ta37eOftmfponrR2G7wV2PErIQUggHHdYu7EYya2lI5UcUhIk5F6hLMhKImsG28YJ7vVyappKt8r4pA== X-Google-Smtp-Source: AGHT+IGlnIeHJ+7AnZOnp1P80r3QAsCXuYF3CFL/klE9EiKuAraKNpzdZ1P+PNIz6T+RKddzVNYF X-Received: by 2002:a05:620a:158d:b0:787:d86e:4805 with SMTP id d13-20020a05620a158d00b00787d86e4805mr995402qkk.28.1708940483955; Mon, 26 Feb 2024 01:41:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708940483; cv=pass; d=google.com; s=arc-20160816; b=wevPlcUSY7C2uQO3o5IYdXepqjcuuWYowGFmArKbuANv7WheJZpVAzaDxALmnrQdrw c6Jz+wJF8544db7QXdnyYI9BUxDGTXrSemrt2gEuq2Rm50B99qfuNJ6/Kq6BTvqdKjjo 1gYhLnfVImOjgJIllsf4wwGByfISlbxb4CwJjDpI8GXpGH00CLwF25uwBSuLBCa6rcFZ BkFVE6tBpVwdD28IlwrKKY4AI7eIbGj0CAQQGdZDlB2iUI7tn0stPUPXosIbSOgDcwLC wi0JGAbOdrJZp/l/XTIuH1KXi16nzNvKPZIWEM00F5Qv6Nk8kORCj29rox88uW9iXINz pgfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=zlvpjVU2nWs6dqiybx7eau+brUfvxlsFzq1VYmH8RBo=; fh=3X8RDclF5x9NskDMJZqZqkB9Kz65AtMYY6OgG1NMQ3k=; b=VFY0TFqcS+U+xBTCN31lEvI4lUB23KfPskIh4SBAjA2d1TGANltRacVk0Ot9WUIOh0 T3AAY2ZoXp5s/Zveo1VWortIgKvhe/YcTEj5KzG/4wPaOadT+6VFmlVIwzStaaboeQ2B wtVcaZiuJIFpMWDXWa5TmfjjYKzBJkWqHw3Wr3Rmni6rKq2/JeDa7vnygMwIlDywnjje DeqfsIoDT0fhcV66IBX0/rDXePH/FnbbczuVC2my392YXpiLZmoJD/A8YgCuF7K8kVL7 rru/zjHsQPnx2JNWOCKDQ6s93rBgTj1c/ZC2N+9LoUs/q27x9i5ReB963AHCtNYkNr4U qdQA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=kylinos.cn); spf=pass (google.com: domain of linux-kernel+bounces-81002-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81002-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id xx3-20020a05620a5d8300b0078726d336f2si4616449qkn.153.2024.02.26.01.41.23 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 01:41:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81002-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=kylinos.cn); spf=pass (google.com: domain of linux-kernel+bounces-81002-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81002-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BCC931C233AD for <ouuuleilei@gmail.com>; Mon, 26 Feb 2024 09:41:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B07879957; Mon, 26 Feb 2024 09:04:28 +0000 (UTC) Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 12AFD79935 for <linux-kernel@vger.kernel.org>; Mon, 26 Feb 2024 09:04:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=124.126.103.232 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708938266; cv=none; b=XtQ+POxRD04SL7UewkuI6aU9oWeVOO5Cd0tXCMjC4h0Z7eOPKz9Q4+SV3JenJpAlcPHz7fly9Sqykx8zmEZJFLeb1lcHvrUFmmGPvwchNve5I+Bhp5TH26dcQRBmj1a3K9x4nMjx9M/PYUYN6MWiEpjUCB0FRMoujbDnNlBZDR8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708938266; c=relaxed/simple; bh=kjoOBO5dV83WE6D/m1dPB4O07n3XvBLpXsn6foUCW+o=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=hbelt3NrFaq/p06W1dYAm9KoxSIYQzbZryrNnxTBKP37yKPUzNYudLxTK6ea1uKdYCNpsuDnu/zm2r8dT32KRX2zwYEzpVFQMN0VBVjIOuMWIRhBpY/c8W7ECec9zsFfPLTnXTD+frswpDXH042Sbc3yW8kjBgrodkI8eAQiac4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn; spf=pass smtp.mailfrom=kylinos.cn; arc=none smtp.client-ip=124.126.103.232 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kylinos.cn X-UUID: d61e572074a642ad8fb0589f8f636a01-20240226 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:ce398543-a259-4799-9710-7a6001f2deec,IP:10, URL:0,TC:0,Content:0,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTI ON:release,TS:-5 X-CID-INFO: VERSION:1.1.37,REQID:ce398543-a259-4799-9710-7a6001f2deec,IP:10,UR L:0,TC:0,Content:0,EDM:0,RT:0,SF:-15,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:6f543d0,CLOUDID:9790d280-4f93-4875-95e7-8c66ea833d57,B ulkID:240226170419I9TKTXCE,BulkQuantity:0,Recheck:0,SF:66|38|24|17|19|44|1 02,TC:nil,Content:0,EDM:-3,IP:-2,URL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC :nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0,NGT X-CID-BAS: 0,NGT,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR,TF_CID_SPAM_FAS,TF_CID_SPAM_FSD,TF_CID_SPAM_FSI X-UUID: d61e572074a642ad8fb0589f8f636a01-20240226 Received: from mail.kylinos.cn [(39.156.73.10)] by mailgw (envelope-from <chentao@kylinos.cn>) (Generic MTA) with ESMTP id 2107915134; Mon, 26 Feb 2024 17:04:16 +0800 Received: from mail.kylinos.cn (localhost [127.0.0.1]) by mail.kylinos.cn (NSMail) with SMTP id 4ACDBE000EBC; Mon, 26 Feb 2024 17:04:16 +0800 (CST) X-ns-mid: postfix-65DC540F-955139647 Received: from kernel.. (unknown [172.20.15.254]) by mail.kylinos.cn (NSMail) with ESMTPA id B891DE000EBC; Mon, 26 Feb 2024 17:04:12 +0800 (CST) From: Kunwu Chan <chentao@kylinos.cn> To: dave.hansen@linux.intel.com, luto@kernel.org, peterz@infradead.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, x86@kernel.org, hpa@zytor.com Cc: linux-kernel@vger.kernel.org, Kunwu Chan <chentao@kylinos.cn> Subject: [PATCH] x86/mm/pat: fix kernel-doc warning Date: Mon, 26 Feb 2024 17:04:11 +0800 Message-Id: <20240226090411.1925770-1-chentao@kylinos.cn> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791953976611795442 X-GMAIL-MSGID: 1791953976611795442 |
Series |
x86/mm/pat: fix kernel-doc warning
|
|
Commit Message
Kunwu Chan
Feb. 26, 2024, 9:04 a.m. UTC
Fix kernel-doc warning in memtype.c:
arch/x86/mm/pat/memtype.c:710: warning: Function parameter or struct member 'pfn' not described in 'pat_pfn_immune_to_uc_mtrr'
Signed-off-by: Kunwu Chan <chentao@kylinos.cn>
---
arch/x86/mm/pat/memtype.c | 1 +
1 file changed, 1 insertion(+)
Comments
On 2/26/24 01:04, Kunwu Chan wrote: > Fix kernel-doc warning in memtype.c: > arch/x86/mm/pat/memtype.c:710: warning: Function parameter or struct member 'pfn' not described in 'pat_pfn_immune_to_uc_mtrr' > > Signed-off-by: Kunwu Chan <chentao@kylinos.cn> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Thanks. > --- > arch/x86/mm/pat/memtype.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/x86/mm/pat/memtype.c b/arch/x86/mm/pat/memtype.c > index 0904d7e8e126..77c86a575268 100644 > --- a/arch/x86/mm/pat/memtype.c > +++ b/arch/x86/mm/pat/memtype.c > @@ -700,6 +700,7 @@ static enum page_cache_mode lookup_memtype(u64 paddr) > /** > * pat_pfn_immune_to_uc_mtrr - Check whether the PAT memory type > * of @pfn cannot be overridden by UC MTRR memory type. > + * @pfn: the page frame number to check > * > * Only to be called when PAT is enabled. > *
diff --git a/arch/x86/mm/pat/memtype.c b/arch/x86/mm/pat/memtype.c index 0904d7e8e126..77c86a575268 100644 --- a/arch/x86/mm/pat/memtype.c +++ b/arch/x86/mm/pat/memtype.c @@ -700,6 +700,7 @@ static enum page_cache_mode lookup_memtype(u64 paddr) /** * pat_pfn_immune_to_uc_mtrr - Check whether the PAT memory type * of @pfn cannot be overridden by UC MTRR memory type. + * @pfn: the page frame number to check * * Only to be called when PAT is enabled. *