Re: arm64: include/linux/compiler_types.h:542:38: error: call to '__compiletime_assert_1050' declared with attribute error: clamp() low limit min greater than high limit max_avail

From: Naresh Kamboju
Date: Thu Dec 05 2024 - 13:42:22 EST


On Thu, 5 Dec 2024 at 20:46, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote:
>
> Add David to the CC list.

Anders bisected this reported issue and found the first bad commit as,

# first bad commit:
[ef32b92ac605ba1b7692827330b9c60259f0af49]
minmax.h: use BUILD_BUG_ON_MSG() for the lo < hi test in clamp()


- Naresh