Re: [PATCH] nfp: fix error return code in nfp_net_netdev_open()

2016-09-16 Thread David Miller
From: Wei Yongjun 
Date: Thu, 15 Sep 2016 03:45:07 +

> From: Wei Yongjun 
> 
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
> 
> Fixes: 73725d9dfd99 ("nfp: allocate ring SW structs dynamically")
> Signed-off-by: Wei Yongjun 

Applied.


Re: [PATCH] nfp: fix error return code in nfp_net_netdev_open()

2016-09-15 Thread Jakub Kicinski
On Thu, 15 Sep 2016 03:45:07 +, Wei Yongjun wrote:
> From: Wei Yongjun 
> 
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
> 
> Fixes: 73725d9dfd99 ("nfp: allocate ring SW structs dynamically")
> Signed-off-by: Wei Yongjun 

Acked-by: Jakub Kicinski 

FWIW this is for net.  Thanks Wei!