]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rtase: Use min() instead of min_t()
authorJustin Lai <justinlai0215@realtek.com>
Tue, 20 May 2025 04:20:31 +0000 (12:20 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 May 2025 22:51:07 +0000 (15:51 -0700)
commitf44092606a3f153bb7e6b277006b1f4a5b914cfc
tree50f73467adb9d2ca1d7c689e7eeb2d0e3a755f31
parentc6634c98e6151ed626a566fbadb54337bb94c532
rtase: Use min() instead of min_t()

Use min() instead of min_t() to avoid the possibility of casting to the
wrong type.

Signed-off-by: Justin Lai <justinlai0215@realtek.com>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250520042031.9297-1-justinlai0215@realtek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/rtase/rtase_main.c