[ewg] Re: [PATCH ofed-1.4.1] Fix backport patch which causes phys_state to show 5: <unknown>
Tziporet Koren
tziporet at dev.mellanox.co.il
Mon Apr 6 06:14:57 PDT 2009
Jack Morgenstein wrote:
> On Friday 03 April 2009 22:20, Ralph Campbell wrote:
>
>> If you cat /sys/class/infiniband/<hca>/ports/1/phys_state,
>> you will see it returns "5: <unknown>".
>> This is because the backport patch core_z0010_sysfs_race.patch
>> changed "return sprintf(...);" to "ret = sprintf(...);"
>> without adding "break;". Thus, the last sprintf has effect.
>>
>>
> Ouch! I'll fix this now.
>
> - Jack
>
This missed rc3 :-( but can be in rc4
Tziporet
More information about the ewg
mailing list