diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-07-11 22:20:55 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-14 22:40:52 (GMT) |
commit | 50c2e4dd6749725338621fff456b26d3a592259f (patch) | |
tree | 10688602499cf59e79811ee41c8ceea0a9910b12 /drivers/net/can | |
parent | f760b87f8f12eb262f14603e65042996fe03720e (diff) | |
download | linux-50c2e4dd6749725338621fff456b26d3a592259f.tar.xz |
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>
Diffstat (limited to 'drivers/net/can')
0 files changed, 0 insertions, 0 deletions