[PATCH v2 RESEND] phy: stm32: Fix constant-value overflow assertion
Vinod Koul
vkoul at kernel.org
Mon Feb 10 09:20:48 PST 2025
On Mon, 10 Feb 2025 11:35:15 +0100, Christian Bruel wrote:
> Rework the workaround as the lookup tables always fits into the bitfield,
> and the default values are defined by the hardware and cannot be 0:
>
> Guard against false positive with a WARN_ON check to make the compiler
> happy: The offset range is pre-checked against the sorted imp_lookup_table
> values and overflow should not happen and would be caught by a warning and
> return in error.
>
> [...]
Applied, thanks!
[1/1] phy: stm32: Fix constant-value overflow assertion
commit: fd75f371f3a1b04a33d2e750363d6ad76abf734e
Best regards,
--
~Vinod
More information about the linux-arm-kernel
mailing list