Several files declare MIN() or MAX() macros that ignore the types of the
values being compared. Drop these macros and switch to min() min_t(),
and max() from `linux/minmax.h`.
Suggested-by: Hamza Mahfooz
Signed-off-by: Mario Limonciello
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h
On Sat, Sep 30, 2023 at 3:01 AM Mario Limonciello
wrote:
>
> Several files declare MIN() or MAX() macros that ignore the types of the
> values being compared. Drop these macros and switch to min() min_t(),
> and max() from `linux/minmax.h`.
>
> Suggested-by: Hamza Mahfooz
> Signed-off-by: Mario