All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] virtio-net: Fix some minor formatting errors
@ 2019-04-03  9:10 Yuval Shaia
  2019-04-07  1:10   ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Yuval Shaia @ 2019-04-03  9:10 UTC (permalink / raw)
  To: mst, jasowang, davem, virtualization, netdev; +Cc: Yuval Shaia

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
---
 drivers/net/virtio_net.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 07c1e81087b2..be1188815c72 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -1587,7 +1587,8 @@ static netdev_tx_t start_xmit(struct sk_buff *skb, struct net_device *dev)
 		dev->stats.tx_fifo_errors++;
 		if (net_ratelimit())
 			dev_warn(&dev->dev,
-				 "Unexpected TXQ (%d) queue failure: %d\n", qnum, err);
+				 "Unexpected TXQ (%d) queue failure: %d\n",
+				 qnum, err);
 		dev->stats.tx_dropped++;
 		dev_kfree_skb_any(skb);
 		return NETDEV_TX_OK;
@@ -2383,7 +2384,7 @@ static int virtnet_set_guest_offloads(struct virtnet_info *vi, u64 offloads)
 
 	if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_GUEST_OFFLOADS,
 				  VIRTIO_NET_CTRL_GUEST_OFFLOADS_SET, &sg)) {
-		dev_warn(&vi->dev->dev, "Fail to set guest offload. \n");
+		dev_warn(&vi->dev->dev, "Fail to set guest offload.\n");
 		return -EINVAL;
 	}
 
@@ -3114,8 +3115,9 @@ static int virtnet_probe(struct virtio_device *vdev)
 			/* Should never trigger: MTU was previously validated
 			 * in virtnet_validate.
 			 */
-			dev_err(&vdev->dev, "device MTU appears to have changed "
-				"it is now %d < %d", mtu, dev->min_mtu);
+			dev_err(&vdev->dev,
+				"device MTU appears to have changed it is now %d < %d",
+				mtu, dev->min_mtu);
 			goto free;
 		}
 
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] virtio-net: Fix some minor formatting errors
  2019-04-03  9:10 [PATCH] virtio-net: Fix some minor formatting errors Yuval Shaia
@ 2019-04-07  1:10   ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2019-04-07  1:10 UTC (permalink / raw)
  To: yuval.shaia; +Cc: mst, jasowang, virtualization, netdev

From: Yuval Shaia <yuval.shaia@oracle.com>
Date: Wed,  3 Apr 2019 12:10:13 +0300

> Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>

Applied to net-next

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] virtio-net: Fix some minor formatting errors
@ 2019-04-07  1:10   ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2019-04-07  1:10 UTC (permalink / raw)
  To: yuval.shaia; +Cc: netdev, virtualization, mst

From: Yuval Shaia <yuval.shaia@oracle.com>
Date: Wed,  3 Apr 2019 12:10:13 +0300

> Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>

Applied to net-next

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] virtio-net: Fix some minor formatting errors
@ 2019-04-03  9:10 Yuval Shaia
  0 siblings, 0 replies; 4+ messages in thread
From: Yuval Shaia @ 2019-04-03  9:10 UTC (permalink / raw)
  To: mst, jasowang, davem, virtualization, netdev; +Cc: Yuval Shaia

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
---
 drivers/net/virtio_net.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 07c1e81087b2..be1188815c72 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -1587,7 +1587,8 @@ static netdev_tx_t start_xmit(struct sk_buff *skb, struct net_device *dev)
 		dev->stats.tx_fifo_errors++;
 		if (net_ratelimit())
 			dev_warn(&dev->dev,
-				 "Unexpected TXQ (%d) queue failure: %d\n", qnum, err);
+				 "Unexpected TXQ (%d) queue failure: %d\n",
+				 qnum, err);
 		dev->stats.tx_dropped++;
 		dev_kfree_skb_any(skb);
 		return NETDEV_TX_OK;
@@ -2383,7 +2384,7 @@ static int virtnet_set_guest_offloads(struct virtnet_info *vi, u64 offloads)
 
 	if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_GUEST_OFFLOADS,
 				  VIRTIO_NET_CTRL_GUEST_OFFLOADS_SET, &sg)) {
-		dev_warn(&vi->dev->dev, "Fail to set guest offload. \n");
+		dev_warn(&vi->dev->dev, "Fail to set guest offload.\n");
 		return -EINVAL;
 	}
 
@@ -3114,8 +3115,9 @@ static int virtnet_probe(struct virtio_device *vdev)
 			/* Should never trigger: MTU was previously validated
 			 * in virtnet_validate.
 			 */
-			dev_err(&vdev->dev, "device MTU appears to have changed "
-				"it is now %d < %d", mtu, dev->min_mtu);
+			dev_err(&vdev->dev,
+				"device MTU appears to have changed it is now %d < %d",
+				mtu, dev->min_mtu);
 			goto free;
 		}
 
-- 
2.19.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-07  1:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-03  9:10 [PATCH] virtio-net: Fix some minor formatting errors Yuval Shaia
2019-04-07  1:10 ` David Miller
2019-04-07  1:10   ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2019-04-03  9:10 Yuval Shaia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.