]> Pileus Git - ~andy/linux/commitdiff
xen-netfront: frags -> slots in log message
authorWei Liu <wei.liu2@citrix.com>
Mon, 22 Apr 2013 02:20:40 +0000 (02:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Apr 2013 19:37:01 +0000 (15:37 -0400)
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>
drivers/net/xen-netfront.c

index d9097a786962ad4c487d01cff7f71321540d1762..1bb2e2072a6a4078ca6953529970c0e6401cb83f 100644 (file)
@@ -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;
        }