Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp207112pxj; Thu, 20 May 2021 07:40:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3B8fTKGbYKwXhT7MVm2PPu6fNswy1blUqP9d1nU4d8MR94UyeqPCHrRvMXkhp5NgITaNb X-Received: by 2002:a17:906:17cb:: with SMTP id u11mr5018910eje.231.1621521613138; Thu, 20 May 2021 07:40:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621521613; cv=none; d=google.com; s=arc-20160816; b=eb6Q0g3QKT+OTneF87v8UsMFjYwI4dLwAnAI71SGZdFmCZAQ/iC2xGsNN81PCyv9E5 +i4g8JHCtZpfOQzyIvesqyK4qVIP8ipHQ2NwUbh6d6O1uPpLZXfp2ce5+PJ+mOlznpvf fI4zOrI67ZJFqgoyAiHdmc7zBXjGRJ/u6TSwd06UkzhwWino5fa5UrDB+DSVA5xl4Y9C ZKIW8ZL8IA7A6NFLYNTPfuMZHJSWWephQCD/K8w8nrFUYTggiLOQiKwLuM1+BDdWrJno ujOY2PYX7D17QabV0DknyNgNJognXt7uo3sKoQxQw3N9r9IdKjAXbZpvAzxhHMfJUPDP yE2w== 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=1QP9+eWCKqOaXcGCEIj5joVTSXvs7LCEWkYQwBuO59g=; b=g9e6po6qKmgds0qJCdwHSU+477ebwejWOHD/kyLNlv3pbeDjvOwutHql3SE8ghQJ8q kbzLLtJDSn+oj952de0bfuqyTsVVZdgE1AMqA7U7kBGr6sMEwTXlY4d+6xQYZ4/C3RbV t5wbsqq3sj6WwjjCooho5E9wr8YXLwAW43wsxreVvlHuE0UikbVYHpDAUkoyzinhLdSm xruXFGZrgE01LU6/x4rSTmjVh3GcdfLaFBMxPegLAhPq7uoaINdw+uEbRbOzLGlw9veE RrQ8sqKfd9jbIZJqhqFBSLAC0+HFR5iNRftwZ4/8DsMmV+8kkkC6Fivpw2BMM0Kq5ek0 8LIg== 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 k12si2721573eje.450.2021.05.20.07.39.49; Thu, 20 May 2021 07:40:13 -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 S231356AbhETIvI (ORCPT + 99 others); Thu, 20 May 2021 04:51:08 -0400 Received: from outbound-smtp19.blacknight.com ([46.22.139.246]:40129 "EHLO outbound-smtp19.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231169AbhETIvH (ORCPT ); Thu, 20 May 2021 04:51:07 -0400 Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp19.blacknight.com (Postfix) with ESMTPS id DD7FA1C3C01 for ; Thu, 20 May 2021 09:49:45 +0100 (IST) Received: (qmail 7830 invoked from network); 20 May 2021 08:49:45 -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:45 -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 08/14] mm/memory_hotplug: Fix kerneldoc comment for __remove_memory Date: Thu, 20 May 2021 09:48:03 +0100 Message-Id: <20210520084809.8576-9-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 __remove_memory mm/memory_hotplug.c:2044: warning: expecting prototype for remove_memory(). Prototype was for __remove_memory() instead Commit eca499ab3749 ("mm/hotplug: make remove_memory() interface usable") introduced the kerneldoc comment and function but the kerneldoc name and function name did not match. Fixes: eca499ab3749 ("mm/hotplug: make remove_memory() interface usable") Signed-off-by: Mel Gorman --- mm/memory_hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index e3266be1d020..4ea1b19e8c7a 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -2031,7 +2031,7 @@ static int __ref try_remove_memory(int nid, u64 start, u64 size) } /** - * remove_memory + * __remove_memory - Remove memory if every memory block is offline * @nid: the node ID * @start: physical address of the region to remove * @size: size of the region to remove -- 2.26.2