[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YFyOT/1j95uON6/9@localhost.localdomain>
Date: Thu, 25 Mar 2021 14:21:19 +0100
From: Oscar Salvador <osalvador@...e.de>
To: Wang Wensheng <wangwensheng4@...wei.com>
Cc: akpm@...ux-foundation.org, pasha.tatashin@...cle.com,
linux-mm@...ck.org, linux-kernel@...r.kernel.org,
rui.xiang@...wei.com
Subject: Re: [PATCH] mm/sparse: Add the missing sparse_buffer_fini() in error
branch
On Thu, Mar 25, 2021 at 11:31:55AM +0000, Wang Wensheng wrote:
> sparse_buffer_init() and sparse_buffer_fini() should appear in pair, or
> a WARN issue would be through the next time sparse_buffer_init() runs.
>
> Add the missing sparse_buffer_fini() in error branch.
>
> Fixes: 85c77f791390 ("mm/sparse: add new sparse_init_nid() and sparse_init()")
> Signed-off-by: Wang Wensheng <wangwensheng4@...wei.com>
Reviewed-by: Oscar Salvador <osalvador@...e.de>
--
Oscar Salvador
SUSE L3
Powered by blists - more mailing lists