[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250811-vielversprechend-imker-3a87ced68e95@brauner>
Date: Mon, 11 Aug 2025 15:41:48 +0200
From: Christian Brauner <brauner@...nel.org>
To: Fushuai Wang <wangfushuai@...du.com>
Cc: linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
viro@...iv.linux.org.uk, jack@...e.cz
Subject: Re: [PATCH] coredump: simplify coredump_skip()
On Mon, Aug 11, 2025 at 03:51:55PM +0800, Fushuai Wang wrote:
> Replace the multi-if conditional check with a single return statement.
>
> Signed-off-by: Fushuai Wang <wangfushuai@...du.com>
> ---
This is a matter of taste. Thanks for the idea but the checks on
separate lines make it easier to read.
Powered by blists - more mailing lists