[PATCH 1/3] ethdev: support setting lanes
huangdengdui
huangdengdui at huawei.com
Wed Mar 20 02:16:34 CET 2024
On 2024/3/19 11:02, Stephen Hemminger wrote:
> On Tue, 12 Mar 2024 15:52:36 +0800
> Dengdui Huang <huangdengdui at huawei.com> wrote:
>
>> - ret = snprintf(str, len, "Link up at %s %s %s",
>> + ret = snprintf(str, len, "Link up at %s %ulanes %s %s",
>
> Don't you want a space after %u?
>
> Could you make it so that lanes is only part of the message if non-default value
> is used?
Ok, I'll do it in the next version.
More information about the dev
mailing list