summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2021-09-23 21:12:48 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-24 14:12:56 +0100
commite624c70e1131e145bd0510b8a700b5e2d112e377 (patch)
treeaef2155641108c7cbfd78f9730507322785bdaa4 /net/core
parenta8551c9b755e5a3e530e127833a772e49bfccf33 (diff)
downloadlinux-e624c70e1131e145bd0510b8a700b5e2d112e377.tar.gz
linux-e624c70e1131e145bd0510b8a700b5e2d112e377.tar.bz2
linux-e624c70e1131e145bd0510b8a700b5e2d112e377.zip
bnxt_en: Check devlink allocation and registration status
devlink is a software interface that doesn't depend on any hardware capabilities. The failure in SW means memory issues, wrong parameters, programmer error e.t.c. Like any other such interface in the kernel, the returned status of devlink APIs should be checked and propagated further and not ignored. Fixes: 4ab0c6a8ffd7 ("bnxt_en: add support to enable VF-representors") Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Reviewed-by: Edwin Peer <edwin.peer@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions