net: sparx5: fix function return type to match actual type
authorCasper Andersson <casper.casan@gmail.com>
Tue, 6 Sep 2022 06:58:15 +0000 (08:58 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 8 Sep 2022 13:00:56 +0000 (15:00 +0200)
commit75554fe00f941c3c3d9344e88708093a14d2b4b8
tree3484137cdd7364b458a201594869aa2ef0d6dd97
parente66d6586843e7f34e25db0c20599a8ef3d816218
net: sparx5: fix function return type to match actual type

Function returns error integer, not bool.

Does not have any impact on functionality.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Casper Andersson <casper.casan@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220906065815.3856323-1-casper.casan@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/microchip/sparx5/sparx5_mactable.c
drivers/net/ethernet/microchip/sparx5/sparx5_main.h