[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210114133807.GK1106298@kernel.org>
Date: Thu, 14 Jan 2021 15:38:07 +0200
From: Mike Rapoport <rppt@...nel.org>
To: Daeseok Youn <daeseok.youn@...il.com>
Cc: akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] mm: memblock: remove return value of memblock_free_all()
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 <daeseok.youn@...il.com>
Applied to memblock/for-next, thanks!
--
Sincerely yours,
Mike.
Powered by blists - more mailing lists