Re: [PATCH] net: caif: fix the value of size argument of snprintf

From: David Miller
Date: Fri May 17 2019 - 14:41:45 EST


From: Weikang shi <swkhack@xxxxxxxxx>
Date: Fri, 17 May 2019 15:59:22 +0800

> From: swkhack <swkhack@xxxxxxxxx>
>
> Because the function snprintf write at most size bytes(including the
> null byte).So the value of the argument size need not to minus one.
>
> Signed-off-by: swkhack <swkhack@xxxxxxxxx>

Applied.