提交 697089dc 编写于 作者: W Wei Liu 提交者: David S. Miller

xen-netfront: frags -> slots in log message

Also fix a typo in comment.
Signed-off-by: NWei Liu <wei.liu2@citrix.com>
Acked-by: NIan Campbell <ian.campbell@citrix.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2bd92cd2
...@@ -735,7 +735,7 @@ static int xennet_get_responses(struct netfront_info *np, ...@@ -735,7 +735,7 @@ static int xennet_get_responses(struct netfront_info *np,
/* /*
* This definitely indicates a bug, either in this driver or in * This definitely indicates a bug, either in this driver or in
* the backend driver. In future this should flag the bad * 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 (ref == GRANT_INVALID_REF) {
if (net_ratelimit()) if (net_ratelimit())
...@@ -771,7 +771,7 @@ static int xennet_get_responses(struct netfront_info *np, ...@@ -771,7 +771,7 @@ static int xennet_get_responses(struct netfront_info *np,
if (unlikely(slots > max)) { if (unlikely(slots > max)) {
if (net_ratelimit()) if (net_ratelimit())
dev_warn(dev, "Too many frags\n"); dev_warn(dev, "Too many slots\n");
err = -E2BIG; err = -E2BIG;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册