diff options
| author | 2025-08-18 15:28:59 +0800 | |
|---|---|---|
| committer | 2025-09-25 14:35:21 -0400 | |
| commit | 981b696faf2d59a58d1dc8e258bba00b12e5de93 (patch) | |
| tree | 02e3b4bafa012f6b6f89cfa6532d0da7f1e9022f /scripts/kernel-doc.py | |
| parent | fs: ext4: change GFP_KERNEL to GFP_NOFS to avoid deadlock (diff) | |
| download | wireguard-linux-981b696faf2d59a58d1dc8e258bba00b12e5de93.tar.xz wireguard-linux-981b696faf2d59a58d1dc8e258bba00b12e5de93.zip | |
ext4: replace min/max nesting with clamp()
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.
Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/kernel-doc.py')
0 files changed, 0 insertions, 0 deletions
