[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.20.1706182248450.15793@cae-iprp-alln-lb.cisco.com>
Date: Sun, 18 Jun 2017 22:55:20 -0700
From: Govindarajulu Varadarajan <gvaradar@...co.com>
To: Joe Perches <joe@...ches.com>
CC: <davem@...emloft.net>, <netdev@...r.kernel.org>, <benve@...co.com>
Subject: Re: [PATCH net-next] enic: use kasprintf instead of snprintf
On Sun, 18 Jun 2017, Joe Perches wrote:
> Perhaps it'd be better to use a style
> with a variable length format precision
>
> ie:
>
> "%.*s-tx-%u", IFNAMSIZ - 4 - <something>, netdev-name, i)
>
This would truncate interface name. Why is this preferred to my patch?
Powered by blists - more mailing lists