Re: [PATCH] mm/sparse: Add the missing sparse_buffer_fini() in error branch

From
Oscar Salvador <osalvador@suse.de>
Date
2021-03-25 13:22:10
Also in
lkml
Reply to
Wang Wensheng, 2021-03-25
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 <redacted>
Reviewed-by: Oscar Salvador <osalvador@suse.de>


-- 
Oscar Salvador
SUSE L3
Thread (3 messages) 3 messages, 3 authors, last reply 2021-03-25
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help