linux/drivers/net/xen-netback
Dan Carpenter 316590d25e net/xen-netback: off by one in BUG_ON() condition
[ Upstream commit 50c2e4dd67 ]

The > should be >=.  I also added spaces around the '-' operations so
the code is a little more consistent and matches the condition better.

Fixes: f53c3fe8da ('xen-netback: Introduce TX grant mapping')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-09-29 19:26:21 +02:00
..
common.h xen-netback: making the bandwidth limiter runtime settable 2015-03-20 12:55:15 -04:00
interface.c xen-netback: making the bandwidth limiter runtime settable 2015-03-20 12:55:15 -04:00
Makefile xen network backend driver 2011-03-15 19:38:03 -07:00
netback.c net/xen-netback: off by one in BUG_ON() condition 2015-09-29 19:26:21 +02:00
xenbus.c xen-netback: fix a BUG() during initialization 2015-07-10 09:49:30 -07:00