Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 697089dc authored by Wei Liu's avatar Wei Liu Committed by David S. Miller
Browse files

xen-netfront: frags -> slots in log message



Also fix a typo in comment.

Signed-off-by: default avatarWei Liu <wei.liu2@citrix.com>
Acked-by: default avatarIan Campbell <ian.campbell@citrix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2bd92cd2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}