mirror of https://gitee.com/openkylin/linux.git
virtio_net: tidy a couple debug statements
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>
This commit is contained in:
parent
3008a20620
commit
56da5fd04e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue