net/xen-netback: off by one in BUG_ON() condition
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 11 Jul 2015 22:20:55 +0000 (01:20 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jul 2015 22:40:52 +0000 (15:40 -0700)
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>
drivers/net/xen-netback/netback.c

Simple merge