projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5b5dc3
)
xen-netfront: print correct number of queues
author
David Vrabel
<david.vrabel@citrix.com>
Thu, 31 Jul 2014 16:38:24 +0000
(17:38 +0100)
committer
David S. Miller
<davem@davemloft.net>
Fri, 1 Aug 2014 05:23:52 +0000
(22:23 -0700)
When less than the requested number of queues could be created, include
the actual number in the warning (instead of the requested number).
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/xen-netfront.c
b/drivers/net/xen-netfront.c
index 0b133a3d43123d0b92b06741a9817f87190cc8f7..28204bc4f369550bc816a81fcf6b933d71e52af4 100644
(file)
--- a/
drivers/net/xen-netfront.c
+++ b/
drivers/net/xen-netfront.c
@@
-1815,8
+1815,8
@@
static int xennet_create_queues(struct netfront_info *info,
ret = xennet_init_queue(queue);
if (ret < 0) {
- dev_warn(&info->netdev->dev,
"only created %d queues\n",
-
num_queues
);
+ dev_warn(&info->netdev->dev,
+
"only created %d queues\n", i
);
num_queues = i;
break;
}