[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2vxz5x8n9zee.fsf@kernel.org>
Date: Tue, 27 Jan 2026 10:29:45 +0100
From: Pratyush Yadav <pratyush@...nel.org>
To: Mike Rapoport <rppt@...nel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>, Alexander Graf
<graf@...zon.com>, Pasha Tatashin <pasha.tatashin@...een.com>, Pratyush
Yadav <ptyadav@...zon.de>, kexec@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [PATCH] kho: cleanup error handling in kho_populate()
On Thu, Jan 22 2026, Mike Rapoport wrote:
> From: "Mike Rapoport (Microsoft)" <rppt@...nel.org>
>
> * use dedicated labels for error handling instead of checking if a pointer
> is not null to decide if it should be unmapped
> * drop assignment of values to err that are only used to print a numeric
> error code, there are pr_warn()s for each failure already so printing a
> numeric error code in the next line does not add anything useful
>
> Signed-off-by: Mike Rapoport (Microsoft) <rppt@...nel.org>
Reviewed-by: Pratyush Yadav <pratyush@...nel.org>
[...]
--
Regards,
Pratyush Yadav
Powered by blists - more mailing lists