Hi Marek,

On 2026-10-16, Marek Vasut wrote:
> Why did the portnr data type change here ?
>
> Can portnr be negative ?

ofnode_get_alias_seq() writes an int, the same contract as
dev_read_alias_seq(), so the field takes its type. The value is the
usbphy alias number, 0 or 1, never negative: when the lookup fails the
function returns the error before the field is read. I will say so in
the commit message of v7.

Thanks,
Mehmet

Reply via email to