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

Christian Bruel christian.bruel at foss.st.com
Fri Feb 14 06:44:13 PST 2025


On 2/14/25 13:53, Vinod Koul wrote:
> 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
> 

Hello Vinod,

This was addressed in the [v2,RESEND] that you applied :

https://patchwork.kernel.org/project/linux-arm-kernel/patch/20250210103515.2598377-1-christian.bruel@foss.st.com/

you can drop this first version.

thanks !

Christian



More information about the linux-arm-kernel mailing list