diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-01-11 16:32:51 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-11 16:12:01 -0500 |
commit | 60dce04b81424940a3183c8e7e81e1234a27e906 (patch) | |
tree | f164d01ba96152d50105e887e8ff81ae1070e275 /lib/idr.c | |
parent | b40296fc73f58f98b595164d52d9bfe99216efa6 (diff) |
net: thunderx: Fix error return code in nicvf_open()
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@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions