Re: [PATCH net-next] net: thunderx: Fix error return code in nicvf_open()

2017-01-11 Thread David Miller
From: Wei Yongjun Date: Wed, 11 Jan 2017 16:32:51 + > 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: 712c31853440 ("net: thunderx: Program

[PATCH net-next] net: thunderx: Fix error return code in nicvf_open()

2017-01-11 Thread Wei Yongjun
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: 712c31853440 ("net: thunderx: Program LMAC credits based on MTU") Signed-off-by: Wei Yongjun ---