Re: [PATCH -next 1/3] cpuset: simplify node setting on error
From: Michal Koutný
Date: Mon Nov 10 2025 - 09:28:17 EST
On Mon, Nov 10, 2025 at 01:52:26AM +0000, Chen Ridong <chenridong@xxxxxxxxxxxxxxx> wrote:
> From: Chen Ridong <chenridong@xxxxxxxxxx>
>
> There is no need to jump to the 'done' label upon failure, as no cleanup
> is required. Return the error code directly instead.
>
> Signed-off-by: Chen Ridong <chenridong@xxxxxxxxxx>
> ---
> kernel/cgroup/cpuset.c | 21 +++++++++------------
> 1 file changed, 9 insertions(+), 12 deletions(-)
Reviewed-by: Michal Koutný <mkoutny@xxxxxxxx>
Attachment:
signature.asc
Description: PGP signature