| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * FUJITSU Extended Socket Network Device driver |
|---|
| 3 | 4 | * Copyright (c) 2015 FUJITSU LIMITED |
|---|
| 4 | | - * |
|---|
| 5 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 6 | | - * under the terms and conditions of the GNU General Public License, |
|---|
| 7 | | - * version 2, as published by the Free Software Foundation. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
|---|
| 10 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 11 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|---|
| 12 | | - * more details. |
|---|
| 13 | | - * |
|---|
| 14 | | - * You should have received a copy of the GNU General Public License along with |
|---|
| 15 | | - * this program; if not, see <http://www.gnu.org/licenses/>. |
|---|
| 16 | | - * |
|---|
| 17 | | - * The full GNU General Public License is included in this distribution in |
|---|
| 18 | | - * the file called "COPYING". |
|---|
| 19 | | - * |
|---|
| 20 | 5 | */ |
|---|
| 21 | 6 | |
|---|
| 22 | 7 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 63 | 48 | static int fjes_change_mtu(struct net_device *, int); |
|---|
| 64 | 49 | static int fjes_vlan_rx_add_vid(struct net_device *, __be16 proto, u16); |
|---|
| 65 | 50 | static int fjes_vlan_rx_kill_vid(struct net_device *, __be16 proto, u16); |
|---|
| 66 | | -static void fjes_tx_retry(struct net_device *); |
|---|
| 51 | +static void fjes_tx_retry(struct net_device *, unsigned int txqueue); |
|---|
| 67 | 52 | |
|---|
| 68 | 53 | static int fjes_acpi_add(struct acpi_device *); |
|---|
| 69 | 54 | static int fjes_acpi_remove(struct acpi_device *); |
|---|
| .. | .. |
|---|
| 810 | 795 | return ret; |
|---|
| 811 | 796 | } |
|---|
| 812 | 797 | |
|---|
| 813 | | -static void fjes_tx_retry(struct net_device *netdev) |
|---|
| 798 | +static void fjes_tx_retry(struct net_device *netdev, unsigned int txqueue) |
|---|
| 814 | 799 | { |
|---|
| 815 | 800 | struct netdev_queue *queue = netdev_get_tx_queue(netdev, 0); |
|---|
| 816 | 801 | |
|---|
| .. | .. |
|---|
| 989 | 974 | FJES_RX_STOP_REQ_DONE; |
|---|
| 990 | 975 | spin_unlock_irqrestore(&hw->rx_status_lock, flags); |
|---|
| 991 | 976 | clear_bit(src_epid, &hw->txrx_stop_req_bit); |
|---|
| 992 | | - /* fall through */ |
|---|
| 977 | + fallthrough; |
|---|
| 993 | 978 | case EP_PARTNER_UNSHARE: |
|---|
| 994 | 979 | case EP_PARTNER_COMPLETE: |
|---|
| 995 | 980 | default: |
|---|