Re: [PATCH 07/10] net: ehernet: ixp4xx: Use devm_alloc_etherdev()

2019-10-21 Thread Jakub Kicinski
On Mon, 21 Oct 2019 02:08:21 +0200, Linus Walleij wrote: > Using the devm_alloc_etherdev() function simplifies the error > path. I also patch the message to use dev_info(). > > Signed-off-by: Linus Walleij > --- > drivers/net/ethernet/xscale/ixp4xx_eth.c | 18 ++ > 1 file changed

[PATCH 07/10] net: ehernet: ixp4xx: Use devm_alloc_etherdev()

2019-10-20 Thread Linus Walleij
Using the devm_alloc_etherdev() function simplifies the error path. I also patch the message to use dev_info(). Signed-off-by: Linus Walleij --- drivers/net/ethernet/xscale/ixp4xx_eth.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/net/ethernet/x