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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:21 +0000 (13:40 +0200)
commit52bb703f71d37d52c4c6dbb216c213c9ab79300e
treefd84033ce0ca79500f48c43d3f3aebbdaf2c0e0d
parent23e5fb6475897f3ad380781883ae6d5440daa8b6
nfp: fix return statement in nfp_net_parse_meta()

[ Upstream commit 4431531c482a2c05126caaa9fcc5053a4a5c495b ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/netronome/nfp/nfp_net_common.c