Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp270609pxb; Thu, 14 Jan 2021 05:41:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJxUSckS04vEaqzljAGRBCbsUdaTyZcndDwKMuQLrdUMo/h/EIp29cVN7vMaHSw15P7c+3IF X-Received: by 2002:a17:906:1288:: with SMTP id k8mr5168343ejb.206.1610631677286; Thu, 14 Jan 2021 05:41:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610631677; cv=none; d=google.com; s=arc-20160816; b=bD4WGeLdpQm6rM7teN2luGdm8Abuf7sx9vYJWoqnhj03suIPI4TvvXvf8UfeON/Ele F1eIupGbMARKDO/vh4aR5W6gtY+iFeZx56SWQw9OZm6q2V0HCirOnNQjt8eeEuAyMBOO Fa80oEhs8NzMo4tjldo6odeeqbnAi4A4Zf6AeIFFEqOhc1MQseU4VzTDl6E+EzpIy8HH SApIWODbyHhZBIFvpJ3kBIO0Rm5wf8o1iU2OctV5ul7joKGVerde7VcO4RJM3UkuoCmZ X7JAhvNDhEAiktqhZPoX0W97oHTRPPyp82wDdzh4AMMjorkq9nRNU1FoHisciUdf89Ud 9NPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3nhWAY1q9jw44zCr4YsF7b7OGh0typK7MvVVDCQ/YaI=; b=goHHjVN2UlpS5saQJWvke1MKjtH2u2FfgeJYypw95iXsTEW3T5fOytcbzYaJFVsuRu MhMWjOJkVu7VmU08gNR9G/0sk1Eq7FdeNLk+j9nNKvTOcgbSn9mP5Tq4Mh4u48kQFgg7 QIUwgGuyzmrRCzjJ5zKAxfd+DI8idByGGoDR1ld2AzuM+QheAX4vLV9ICDO4s7fZgYrP +SgQ7tJqcTzPr9N7aOFHgb2FpnQk+Uql6DeOp8N1IDzS6MutT3IBj84I7E7Z9sv+biPX XTkYNg7L09aKpyHQu7f3UGXNvOwb8zQcILtZR6tPyF46eRtKIXFc7fimAoMk6KgU77jw 3yOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DwleQ0BO; 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 md2si2294319ejb.699.2021.01.14.05.40.49; Thu, 14 Jan 2021 05:41:17 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DwleQ0BO; 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 S1727422AbhANNiy (ORCPT + 99 others); Thu, 14 Jan 2021 08:38:54 -0500 Received: from mail.kernel.org ([198.145.29.99]:40566 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726236AbhANNiy (ORCPT ); Thu, 14 Jan 2021 08:38:54 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id A95E8239A1; Thu, 14 Jan 2021 13:38:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610631493; bh=PAPG/ACHTK0jyjwAkvoqv3tucAP+biSsW8x7yvJWzXk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DwleQ0BOOtr3D+pagKU8JoMXRuhjwvxnj4DUT2eENhwsgFsmD1qGbb2kiX9crRxB5 b3Ei3K5PMTsjU22qnP33ExDbQPIwaPmK5rpe5vTybXuom4KH7LpAtMcvebDw//3JfW JrW+Qf2WkoBp3UIRNZSdwXh0ksWKuA8fHR9wKCu5MzckPVydaDPm/KpCoj+TBz+1Z7 ypm6jHv7jD/jTSpwN/V6CDjNWTRW2H/vCWH8vDCem9kZA1/t09eHAcm7PzBHiQ/GZS owEuJV2dGqOTcV4+5pkbTBWYdlrT9r9gAreCvS/1hHB0beioHtXNU10DXiQaXSO4XR yAz5i5vMzSVgQ== Date: Thu, 14 Jan 2021 15:38:07 +0200 From: Mike Rapoport To: Daeseok Youn Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] mm: memblock: remove return value of memblock_free_all() Message-ID: <20210114133807.GK1106298@kernel.org> References: <20210114070817.GA2868715@AD01715016> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210114070817.GA2868715@AD01715016> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 14, 2021 at 04:08:17PM +0900, Daeseok Youn wrote: > No one checks the return value of memblock_free_all(). > Make the return value void. > > memblock_free_all() is used on mem_init() for each > architecture, and the total count of freed pages will be added > to _totalram_pages variable by calling totalram_pages_add(). > > so do not need to return total count of freed pages. > > Signed-off-by: Daeseok Youn Applied to memblock/for-next, thanks! -- Sincerely yours, Mike.