virtio_net: tidy a couple debug statements
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 6 Apr 2017 09:04:47 +0000 (12:04 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 May 2017 13:43:24 +0000 (16:43 +0300)
We are printing a decimal value for truesize so we shouldn't use an "0x"
prefix.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/net/virtio_net.c

index fd5145bdfb77f4ccecad7af81cb1eedf132997b8..87b5c204634193255343b57af6f5e80cbd7b9909 100644 (file)
@@ -613,7 +613,7 @@ static struct sk_buff *receive_mergeable(struct net_device *dev,
        rcu_read_unlock();
 
        if (unlikely(len > (unsigned long)ctx)) {
-               pr_debug("%s: rx error: len %u exceeds truesize 0x%lu\n",
+               pr_debug("%s: rx error: len %u exceeds truesize %lu\n",
                         dev->name, len, (unsigned long)ctx);
                dev->stats.rx_length_errors++;
                goto err_skb;
@@ -639,7 +639,7 @@ static struct sk_buff *receive_mergeable(struct net_device *dev,
 
                page = virt_to_head_page(buf);
                if (unlikely(len > (unsigned long)ctx)) {
-                       pr_debug("%s: rx error: len %u exceeds truesize 0x%lu\n",
+                       pr_debug("%s: rx error: len %u exceeds truesize %lu\n",
                                 dev->name, len, (unsigned long)ctx);
                        dev->stats.rx_length_errors++;
                        goto err_skb;