Re: [PATCH net-next] hinic: Use devm_kasprintf instead of hard coding it
From: David Miller
Date: Sat Jun 15 2019 - 16:43:41 EST
From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date: Thu, 13 Jun 2019 21:54:12 +0200
> 'devm_kasprintf' is less verbose than:
> snprintf(NULL, 0, ...);
> devm_kzalloc(...);
> sprintf
> so use it instead.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Applied.