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

David Miller davem at davemloft.net
Wed Jan 11 13:12:51 PST 2017


From: Wei Yongjun <weiyj.lk at gmail.com>
Date: Wed, 11 Jan 2017 16:32:51 +0000

> From: Wei Yongjun <weiyongjun1 at huawei.com>
> 
> 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 <weiyongjun1 at huawei.com>

Applied.



More information about the linux-arm-kernel mailing list