commit | 50c2e4dd6749725338621fff456b26d3a592259f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sun Jul 12 01:20:55 2015 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 14 15:40:52 2015 -0700 |
tree | 10688602499cf59e79811ee41c8ceea0a9910b12 | |
parent | f760b87f8f12eb262f14603e65042996fe03720e [diff] |
net/xen-netback: off by one in BUG_ON() condition The > should be >=. I also added spaces around the '-' operations so the code is a little more consistent and matches the condition better. Fixes: f53c3fe8dad7 ('xen-netback: Introduce TX grant mapping') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>