[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175892300639.128029.16772861472569556620.b4-ty@mit.edu>
Date: Fri, 26 Sep 2025 17:47:49 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: adilger.kernel@...ger.ca, Xichao Zhao <zhao.xichao@...o.com>
Cc: "Theodore Ts'o" <tytso@....edu>, linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ext4: replace min/max nesting with clamp()
On Mon, 18 Aug 2025 15:28:59 +0800, Xichao Zhao wrote:
> The clamp() macro explicitly expresses the intent of constraining a value
> within bounds.Therefore, replacing max(min(a,b),c) with clamp(val, lo, hi)
> can improve code readability.
>
>
Applied, thanks!
[1/1] ext4: replace min/max nesting with clamp()
commit: 981b696faf2d59a58d1dc8e258bba00b12e5de93
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists