| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * USB network interface driver for Samsung Kalmia based LTE USB modem like the |
|---|
| 3 | 4 | * Samsung GT-B3730 and GT-B3710. |
|---|
| .. | .. |
|---|
| 7 | 8 | * Sponsored by Quicklink Video Distribution Services Ltd. |
|---|
| 8 | 9 | * |
|---|
| 9 | 10 | * Based on the cdc_eem module. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 12 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 13 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 14 | | - * (at your option) any later version. |
|---|
| 15 | 11 | */ |
|---|
| 16 | 12 | |
|---|
| 17 | 13 | #include <linux/module.h> |
|---|
| .. | .. |
|---|
| 69 | 65 | init_msg, init_msg_len, &act_len, KALMIA_USB_TIMEOUT); |
|---|
| 70 | 66 | if (status != 0) { |
|---|
| 71 | 67 | netdev_err(dev->net, |
|---|
| 72 | | - "Error sending init packet. Status %i, length %i\n", |
|---|
| 73 | | - status, act_len); |
|---|
| 68 | + "Error sending init packet. Status %i\n", |
|---|
| 69 | + status); |
|---|
| 74 | 70 | return status; |
|---|
| 75 | 71 | } |
|---|
| 76 | 72 | else if (act_len != init_msg_len) { |
|---|
| .. | .. |
|---|
| 87 | 83 | |
|---|
| 88 | 84 | if (status != 0) |
|---|
| 89 | 85 | netdev_err(dev->net, |
|---|
| 90 | | - "Error receiving init result. Status %i, length %i\n", |
|---|
| 91 | | - status, act_len); |
|---|
| 86 | + "Error receiving init result. Status %i\n", |
|---|
| 87 | + status); |
|---|
| 92 | 88 | else if (act_len != expected_len) |
|---|
| 93 | 89 | netdev_err(dev->net, "Unexpected init result length: %i\n", |
|---|
| 94 | 90 | act_len); |
|---|