diff options
author | Joe Perches <joe@perches.com> | 2017-12-06 07:40:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-06 21:10:32 +0100 |
commit | cc10f8712bd688543602f3f3d052b13be4095695 (patch) | |
tree | a7d41f6707360f6ff0aaaf478306b4c57c0f63e9 /drivers/net/xen-netback | |
parent | net: thunderx: Fix TCP/UDP checksum offload for IPv4 pkts (diff) | |
download | linux-cc10f8712bd688543602f3f3d052b13be4095695.tar.xz linux-cc10f8712bd688543602f3f3d052b13be4095695.zip |
xen-netback: Fix logging message with spurious period after newline
Using a period after a newline causes bad output.
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback')
-rw-r--r-- | drivers/net/xen-netback/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xen-netback/interface.c b/drivers/net/xen-netback/interface.c index d6dff347f896..78ebe494fef0 100644 --- a/drivers/net/xen-netback/interface.c +++ b/drivers/net/xen-netback/interface.c @@ -186,7 +186,7 @@ static int xenvif_start_xmit(struct sk_buff *skb, struct net_device *dev) /* Obtain the queue to be used to transmit this packet */ index = skb_get_queue_mapping(skb); if (index >= num_queues) { - pr_warn_ratelimited("Invalid queue %hu for packet on interface %s\n.", + pr_warn_ratelimited("Invalid queue %hu for packet on interface %s\n", index, vif->dev->name); index %= num_queues; } |