Files
linux/drivers/net/ethernet/sfc
Xichao Zhao 6398d8a856 sfc: replace min/max nesting with clamp()
The clamp() macro explicitly expresses the intent of constraining
a value within bounds.Therefore, replacing min(max(a, b), c) with
clamp(val, lo, hi) can improve code readability.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Reviewed-by: Joe Damato <joe@dama.to>
Reviewed-by: Edward Cree <ecree.xilinx@gmail.com>
Link: https://patch.msgid.link/20250812065026.620115-1-zhao.xichao@vivo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-08-14 17:48:29 -07:00
..
2025-06-18 18:53:51 -07:00
2024-10-06 16:02:23 +01:00
2023-06-17 00:06:55 -07:00
2024-11-05 17:35:11 -08:00
2025-03-25 07:55:11 -07:00
2025-03-25 07:55:10 -07:00
2024-11-05 17:35:11 -08:00
2023-07-28 09:54:18 +01:00
2024-12-19 19:14:39 -08:00
2025-02-11 17:12:17 -08:00
2024-11-05 17:35:11 -08:00
2024-06-28 18:53:21 -07:00
2024-06-28 18:53:21 -07:00
2025-07-25 10:29:07 -07:00
2025-03-25 07:55:10 -07:00
2025-03-25 07:55:10 -07:00
2025-02-11 17:12:17 -08:00
2024-11-09 09:10:37 -08:00
2024-09-11 16:02:21 -07:00
2024-11-09 09:10:37 -08:00
2024-11-09 09:10:37 -08:00
2024-06-28 18:53:21 -07:00
2024-10-06 16:02:23 +01:00
2024-08-30 11:10:02 -07:00
2024-11-05 17:35:11 -08:00
2024-11-05 17:35:11 -08:00
2023-07-28 09:54:17 +01:00