| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * CAN driver for PEAK System USB adapters |
|---|
| 3 | 4 | * Derived from the PCAN project file driver/src/pcan_usb_core.c |
|---|
| .. | .. |
|---|
| 6 | 7 | * Copyright (C) 2010-2012 Stephane Grosjean <s.grosjean@peak-system.com> |
|---|
| 7 | 8 | * |
|---|
| 8 | 9 | * Many thanks to Klaus Hitschler <klaus.hitschler@gmx.de> |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 11 | | - * under the terms of the GNU General Public License as published |
|---|
| 12 | | - * by the Free Software Foundation; version 2 of the License. |
|---|
| 13 | | - * |
|---|
| 14 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 15 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 16 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 17 | | - * General Public License for more details. |
|---|
| 18 | 10 | */ |
|---|
| 19 | 11 | #include <linux/init.h> |
|---|
| 20 | 12 | #include <linux/signal.h> |
|---|
| .. | .. |
|---|
| 394 | 386 | default: |
|---|
| 395 | 387 | netdev_warn(netdev, "tx urb submitting failed err=%d\n", |
|---|
| 396 | 388 | err); |
|---|
| 397 | | - /* fall through */ |
|---|
| 389 | + fallthrough; |
|---|
| 398 | 390 | case -ENOENT: |
|---|
| 399 | 391 | /* cable unplugged */ |
|---|
| 400 | 392 | stats->tx_dropped++; |
|---|