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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Nov 2023 01:52:35 +0000 (01:52 +0000)
commit109b25d13e0054337860d44841b990d11b32d262
tree61f7043218b09b539f7de516ff4e54fe4521a6bc
parentd3fa86b1a7b4cdc4367acacea16b72e0a200b3d7
net: rswitch: Fix type of ret in rswitch_start_xmit()

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>
drivers/net/ethernet/renesas/rswitch.c