RE: [PATCH iproute2-next] devlink: Increase bus,device buffer size to 64 bytes

2019-06-06 Thread Parav Pandit
> -Original Message- > From: Stephen Hemminger > Sent: Thursday, June 6, 2019 8:49 PM > To: Parav Pandit > Cc: dsah...@gmail.com; netdev@vger.kernel.org; Jiri Pirko > > Subject: Re: [PATCH iproute2-next] devlink: Increase bus,device buffer size to > 64 bytes

Re: [PATCH iproute2-next] devlink: Increase bus,device buffer size to 64 bytes

2019-06-06 Thread Stephen Hemminger
On Thu, 6 Jun 2019 06:49:19 -0500 Parav Pandit wrote: > Device name on mdev bus is 36 characters long which follow standard uuid > RFC 4122. > This is probably the longest name that a kernel will return for a > device. > > Hence increase the buffer size to 64 bytes. > > Acked-by: Jiri Pirko >

[PATCH iproute2-next] devlink: Increase bus,device buffer size to 64 bytes

2019-06-06 Thread Parav Pandit
Device name on mdev bus is 36 characters long which follow standard uuid RFC 4122. This is probably the longest name that a kernel will return for a device. Hence increase the buffer size to 64 bytes. Acked-by: Jiri Pirko Signed-off-by: Parav Pandit --- devlink/devlink.c | 4 ++-- 1 file chan