net: rswitch: Fix type of ret in rswitch_start_xmit()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 22 Nov 2023 05:11:41 +0000 (14:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Dec 2023 07:52:21 +0000 (08:52 +0100)
commit85311671989d87d038e6240578dc4331f53c36cd
tree8e5d04c232ca69edf3811e17be0c83d7692bfd2f
parent41a0b3b8cfff6cc2827fe4b77dfea571a4128d43
net: rswitch: Fix type of ret in rswitch_start_xmit()

[ Upstream commit 109b25d13e0054337860d44841b990d11b32d262 ]

The type of ret in rswitch_start_xmit() should be netdev_tx_t. So,
fix it.

Fixes: 3590918b5d07 ("net: ethernet: renesas: Add support for "Ethernet Switch"")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/renesas/rswitch.c