ivshmem-net: slightly improve debug output
authorHenning Schild <henning.schild@siemens.com>
Mon, 18 Sep 2017 16:02:10 +0000 (18:02 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
There where two lines with the same error message, change one of them.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
(cherry picked from commit 55db983c36cd57c003884d497f17df7f0b89a8b8)
(cherry picked from commit 90116595852af9b58eb17424fe7b17d3d4d9ba18)
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
drivers/net/ivshmem-net.c

index 556670e..abc5055 100644 (file)
@@ -369,7 +369,7 @@ static void ivshm_net_tx_clean(struct net_device *ndev)
 
                data = ivshm_net_desc_data(in, &in->tx, desc, &len);
                if (!data) {
-                       netdev_err(ndev, "bad tx descriptor\n");
+                       netdev_err(ndev, "bad tx descriptor, data == NULL\n");
                        break;
                }