[PATCH] Fixes: 2de679ecd724 ("phy: stm32: work around constant-value overflow assertion")

Vinod Koul vkoul at kernel.org
Fri Feb 14 04:53:14 PST 2025


On 17-01-25, 15:05, Christian Bruel wrote:
> This patch replaces the workaround with fixes for two issues leading to
> constant-value overflow assertion:
> 
> - Guard against false positives with a WARN_ON check to make the compiler
> happy: This should not happen because the offset range is checked against
> the sorted imp_lookup_table values.
> 
> - Guard against a true warning found for the max_vswing, as a given
> vswing value can be 802000 or 803000 depending on the current impedance

Patch looks fine, the fixes line should go here and subject needs
revision

-- 
~Vinod



More information about the linux-arm-kernel mailing list