Skip to content

Commit

Permalink
xen-netfront: frags -> slots in log message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Liu authored and David S. Miller committed Apr 22, 2013
1 parent 2bd92cd commit 697089d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/xen-netfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down Expand Up @@ -771,7 +771,7 @@ static int xennet_get_responses(struct netfront_info *np,

if (unlikely(slots > max)) {
if (net_ratelimit())
dev_warn(dev, "Too many frags\n");
dev_warn(dev, "Too many slots\n");
err = -E2BIG;
}

Expand Down

0 comments on commit 697089d

Please sign in to comment.