]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: fix return statement in nfp_net_parse_meta()
authorNiklas Söderlund <niklas.soderlund@corigine.com>
Thu, 22 Jul 2021 11:25:02 +0000 (13:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jul 2021 12:46:03 +0000 (05:46 -0700)
commit037a62b4da3007d49d4a7bcfb349472523e84c01
tree6765ccd40b87d93e36c903581c30590afef3b3d2
parente547e8a833f750b284aeea2aad848e11a64ac167
nfp: fix return statement in nfp_net_parse_meta()

The return type of the function is bool and while NULL do evaluate to
false it's not very nice, fix this by explicitly returning false. There
is no functional change.

Signed-off-by: Niklas Söderlund <niklas.soderlund@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c