From 1a2e5454c2c325c467f32bb68ea4dc4b79a56787 Mon Sep 17 00:00:00 2001 From: Mauro Ribeiro Date: Mon, 26 Jan 2026 11:19:23 -0300 Subject: [PATCH] arm/midgard: the kernel now provides MIN/MAX macros --- drivers/gpu/arm/midgard/mali_malisw.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/arm/midgard/mali_malisw.h b/drivers/gpu/arm/midgard/mali_malisw.h index a44765a05cef..3c3f7bf53590 100644 --- a/drivers/gpu/arm/midgard/mali_malisw.h +++ b/drivers/gpu/arm/midgard/mali_malisw.h @@ -36,7 +36,7 @@ * As a macro it may evaluate its arguments more than once. * Refer to MAX macro for more details */ -#define MIN(x, y) ((x) < (y) ? (x) : (y)) +// #define MIN(x, y) ((x) < (y) ? (x) : (y)) /** * MAX - Return the greater of two values. @@ -50,7 +50,7 @@ * to retrieve the min and max of two values, consider using a conditional swap * instead. */ -#define MAX(x, y) ((x) < (y) ? (y) : (x)) +// #define MAX(x, y) ((x) < (y) ? (y) : (x)) /** * CSTD_UNUSED - Function-like macro for suppressing unused variable warnings.