Re: [PATCH v5 02/19] mm/swap: clean up hibernation error handling
From: Chris Li
Date: Thu Nov 26 2026 - 11:32:53 EST
On Thu, Nov 26, 2026 at 4:15 AM Lian Wang <lianux.mm@xxxxxxxxx> wrote:
>
> Hi Chris,
>
> Thanks for the careful review.
>
> > Nitpick: Here "ret" only carries error code. Maybe we can call it "err".
>
> I'd keep "ret" here since it holds the swap type on success and a
> negative errno on failure.
Ah, thanks for pointing that out. I missed that part. It doesn't only
hold the error code. We can keep it as "ret".
Chris