Re: [PATCH v5 02/19] mm/swap: clean up hibernation error handling

From: Lian Wang

Date: Thu Nov 26 2026 - 07:15:04 EST


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.

> Nitpick: Maybe "unlock"?

Agreed. I'll rename the label to "unlock" in the next revision.

Thanks,
Lian