hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/drivers/net/rionet.c
....@@ -1,13 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * rionet - Ethernet driver over RapidIO messaging services
34 *
45 * Copyright 2005 MontaVista Software, Inc.
56 * Matt Porter <mporter@kernel.crashing.org>
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of the GNU General Public License as published by the
9
- * Free Software Foundation; either version 2 of the License, or (at your
10
- * option) any later version.
117 */
128
139 #include <linux/module.h>
....@@ -170,7 +166,8 @@
170166 return 0;
171167 }
172168
173
-static int rionet_start_xmit(struct sk_buff *skb, struct net_device *ndev)
169
+static netdev_tx_t rionet_start_xmit(struct sk_buff *skb,
170
+ struct net_device *ndev)
174171 {
175172 int i;
176173 struct rionet_private *rnet = netdev_priv(ndev);