Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp206951pxj; Thu, 20 May 2021 07:40:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOR8B20DXZLQBi0F/btEsCUB3tWTDWnjOmzy5832EG7aCUCCxHNAxIqxCkocLlMv/ufd8b X-Received: by 2002:a17:906:c30b:: with SMTP id s11mr5018045ejz.486.1621521599717; Thu, 20 May 2021 07:39:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621521599; cv=none; d=google.com; s=arc-20160816; b=ys1clV1227UVRyK4C0OCU+0aJzX/wGKW/+Pecs28jA3VWc1IAY/+ogOHjKIh/mKrx4 aTBayJF42OCz/g7VJ+qHQWsEc+4JxTOx+ASUBz2kMkXbgUCFkdhwz8HvFnwOeEKxUDZz t5OtZNz/27N2Hhqbvu2DUSxwgn0oSOe8e1LLqfqpdFxYoJIKj0DAHC/8+GjexOBmZAtb pBHfEFLn8J9Fl2pHhQSbyodN+R8Wwz2xwo5gK/iWiSVbDvpSWxVSveRuPCgj/F2cvYyg zVDNfY+Bi6TwQkrMKLZ136rXbQUEQlfmb4aR5wZmJbiLKi6aOpS34QIplN1NvFq7F840 VKlQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=c2NTRD+ol7+VQXQXJSD5L/XYevDshXPHSXoqXPA3vzU=; b=An3rCbZeJ2k5bF6oN+C8vMUcNX43/d4upf7ATqX0iqm7OqbsrdLSAFEgVB1OWFbwPe 8l7PNN9a1DGq8nT5SZHVr1u7hbhL+ttse/DwfsUJlK1aDBYuRT3DmR+UYUq+ziMk+Gn+ Jw7i6j3ghoH8K4SIoLUhcc51kwVZ7NHweJjbnybExo5xHQtLASWhWIWHEVs54r7BkTJB DU0x7zieUUEctUyMTm4p68YSeWsaILZuF3khjuKh4IS6GVJ5uHaj/ev/FBo49Z/ESBuY /8+ACg1Jme5/MoZk5VRHkIwwxO+gbwGYDd5rxc/+RLlWlsrr7OrIg+xCkdSI+ulP7tCJ pxzg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z16si2211629edd.136.2021.05.20.07.39.35; Thu, 20 May 2021 07:39:59 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231324AbhETIub (ORCPT + 99 others); Thu, 20 May 2021 04:50:31 -0400 Received: from outbound-smtp10.blacknight.com ([46.22.139.15]:42843 "EHLO outbound-smtp10.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231303AbhETIuZ (ORCPT ); Thu, 20 May 2021 04:50:25 -0400 Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp10.blacknight.com (Postfix) with ESMTPS id 3EB531C399E for ; Thu, 20 May 2021 09:49:03 +0100 (IST) Received: (qmail 5179 invoked from network); 20 May 2021 08:49:03 -0000 Received: from unknown (HELO stampy.112glenside.lan) (mgorman@techsingularity.net@[84.203.23.168]) by 81.17.254.9 with ESMTPA; 20 May 2021 08:49:02 -0000 From: Mel Gorman To: Andrew Morton Cc: Michal Hocko , David Hildenbrand , Vlastimil Babka , Dan Streetman , Yang Shi , Linux-MM , LKML , Mel Gorman Subject: [PATCH 04/14] mm/mapping_dirty_helpers: Remove double Note in kerneldoc Date: Thu, 20 May 2021 09:47:59 +0100 Message-Id: <20210520084809.8576-5-mgorman@techsingularity.net> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210520084809.8576-1-mgorman@techsingularity.net> References: <20210520084809.8576-1-mgorman@techsingularity.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org make W=1 generates the following warning for mm/mapping_dirty_helpers.c mm/mapping_dirty_helpers.c:325: warning: duplicate section name 'Note' The helper function is very specific to one driver -- vmwgfx. While the two notes are separate, all of it needs to be taken into account when using the helper so make it one note. Signed-off-by: Mel Gorman --- mm/mapping_dirty_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/mapping_dirty_helpers.c b/mm/mapping_dirty_helpers.c index b890854ec761..ea734f248fce 100644 --- a/mm/mapping_dirty_helpers.c +++ b/mm/mapping_dirty_helpers.c @@ -317,7 +317,7 @@ EXPORT_SYMBOL_GPL(wp_shared_mapping_range); * pfn_mkwrite(). And then after a TLB flush following the write-protection * pick up all dirty bits. * - * Note: This function currently skips transhuge page-table entries, since + * This function currently skips transhuge page-table entries, since * it's intended for dirty-tracking on the PTE level. It will warn on * encountering transhuge dirty entries, though, and can easily be extended * to handle them as well. -- 2.26.2