summaryrefslogtreecommitdiffstats
path: root/net/nfc
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-05-08 02:15:19 +0000
committerJakub Kicinski <kuba@kernel.org>2020-05-08 22:22:13 -0700
commit9302bead664f49ef73040fa06fa64552d02fee42 (patch)
tree2fa5cb2705bf5fd7949966acda9f6b880c70f4c5 /net/nfc
parentdb803036ada7d61d096783726f9771b3fc540370 (diff)
downloadlinux-9302bead664f49ef73040fa06fa64552d02fee42.tar.bz2
octeontx2-vf: Fix error return code in otx2vf_probe()
Fix to return negative error code -ENOMEM from the alloc failed error handling case instead of 0, as done elsewhere in this function. Fixes: 3184fb5ba96e ("octeontx2-vf: Virtual function driver support") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions