Re: [PATCH net-next] hinic: Use devm_kasprintf instead of hard coding it

2019-06-15 Thread David Miller
From: Christophe JAILLET 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 Applied.

Re: [PATCH net-next] hinic: Use devm_kasprintf instead of hard coding it

2019-06-14 Thread Julia Lawall
On Fri, 14 Jun 2019, Christophe JAILLET wrote: > Hi, > > I got a: > > : host huawei.com[103.218.216.136] said: 550 > 5.1.1 Error: invalid recipients is found from 80.12.242.127 > > However, MAINTAINERS has: > HUAWEI ETHERNET DRIVER > M: Aviad Krawczyk > L: net...@vger.kernel.org > S:

Re: [PATCH net-next] hinic: Use devm_kasprintf instead of hard coding it

2019-06-14 Thread Christophe JAILLET
Hi, I got a: : host huawei.com[103.218.216.136] said: 550 5.1.1 Error: invalid recipients is found from 80.12.242.127 However, MAINTAINERS has: HUAWEI ETHERNET DRIVER M:Aviad Krawczyk L:net...@vger.kernel.org S:Supported F:Documentation/networking/hinic.txt F:dr

[PATCH net-next] hinic: Use devm_kasprintf instead of hard coding it

2019-06-13 Thread Christophe JAILLET
'devm_kasprintf' is less verbose than: snprintf(NULL, 0, ...); devm_kzalloc(...); sprintf so use it instead. Signed-off-by: Christophe JAILLET --- drivers/net/ethernet/huawei/hinic/hinic_rx.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/net/etherne