summaryrefslogtreecommitdiff
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorWei Liu <wei.liu2@citrix.com>2013-04-22 06:20:40 +0400
committerDavid S. Miller <davem@davemloft.net>2013-04-22 23:37:01 +0400
commit697089dc13c52d668322ac6cb8548520de27ed0e (patch)
treeeb954c582489488c77717855fc3ff45129e2ca4e /drivers/net/xen-netfront.c
parent2bd92cd2a5f96458519ed4cbbf90d9bd108edcc6 (diff)
downloadlinux-697089dc13c52d668322ac6cb8548520de27ed0e.tar.xz
xen-netfront: frags -> slots in log message
Also fix a typo in comment. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
-rw-r--r--drivers/net/xen-netfront.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c
index d9097a786962..1bb2e2072a6a 100644
--- a/drivers/net/xen-netfront.c
+++ b/drivers/net/xen-netfront.c
@@ -735,7 +735,7 @@ static int xennet_get_responses(struct netfront_info *np,
/*
* This definitely indicates a bug, either in this driver or in
* the backend driver. In future this should flag the bad
- * situation to the system controller to reboot the backed.
+ * situation to the system controller to reboot the backend.
*/
if (ref == GRANT_INVALID_REF) {
if (net_ratelimit())
@@ -771,7 +771,7 @@ next:
if (unlikely(slots > max)) {
if (net_ratelimit())
- dev_warn(dev, "Too many frags\n");
+ dev_warn(dev, "Too many slots\n");
err = -E2BIG;
}