lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ