e671fc062e7efa50e31046d0a9bd108518199cfa
[openwrt/openwrt.git] /
1 From 4ee8d876b25a1345804b66213b92a69602abdd83 Mon Sep 17 00:00:00 2001
2 From: Henning Schild <henning.schild@siemens.com>
3 Date: Mon, 18 Sep 2017 18:02:10 +0200
4 Subject: [PATCH] ivshmem-net: slightly improve debug output
5
6 There where two lines with the same error message, change one of them.
7
8 Signed-off-by: Henning Schild <henning.schild@siemens.com>
9 Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
10 (cherry picked from commit d66af388dd2512ea7c7a776c731409854ed40a45)
11 ---
12 drivers/net/ivshmem-net.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 --- a/drivers/net/ivshmem-net.c
16 +++ b/drivers/net/ivshmem-net.c
17 @@ -369,7 +369,7 @@ static void ivshm_net_tx_clean(struct ne
18
19 data = ivshm_net_desc_data(in, &in->tx, desc, &len);
20 if (!data) {
21 - netdev_err(ndev, "bad tx descriptor\n");
22 + netdev_err(ndev, "bad tx descriptor, data == NULL\n");
23 break;
24 }
25