]> git.ipfire.org Git - thirdparty/linux.git/commit
accel/qaic: Fix mismatched types in min()
authorZack McKevitt <zmckevit@qti.qualcomm.com>
Wed, 15 Oct 2025 15:37:15 +0000 (17:37 +0200)
committerJeff Hugo <jeff.hugo@oss.qualcomm.com>
Mon, 20 Oct 2025 14:38:42 +0000 (08:38 -0600)
commitddf70cb6f8672ab7da965cbfa3560d673486cb89
tree480989b1f6c0ac8a8f5d00cd9df55ba5ee64c857
parent9cfe6abee1ac3309fe15961b22a8d8b71b9e113a
accel/qaic: Fix mismatched types in min()

Use min_t() instead of min() to resolve compiler warnings for mismatched
types.

Signed-off-by: Zack McKevitt <zmckevit@qti.qualcomm.com>
Signed-off-by: Youssef Samir <youssef.abdulrahman@oss.qualcomm.com>
Reviewed-by: Carl Vanderlip <carl.vanderlip@oss.qualcomm.com>
Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Reviewed-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Signed-off-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251015153715.184143-1-youssef.abdulrahman@oss.qualcomm.com
drivers/accel/qaic/sahara.c