Re: [PATCH v2] um: Remove double zero check

2024-10-24 Thread Dmitry Baryshkov
On Fri, Oct 25, 2024 at 02:03:32PM +0800, shaojiedong wrote: > free_pages() performs a parameter null check inside > previous code also does zero check as following > if (stack == 0) > goto out; > > to_mm->id.stack = stack; > > therefore remove double zero check here. > > Signed-

[PATCH v2] um: Remove double zero check

2024-10-24 Thread shaojiedong
free_pages() performs a parameter null check inside previous code also does zero check as following if (stack == 0) goto out; to_mm->id.stack = stack; therefore remove double zero check here. Signed-off-by: shaojiedong --- Changes in v2: - EDITME: describe what is new in this se