Re: [Xen-devel] [patch] net/xen-netback: off by one in BUG_ON() condition

2015-07-14 Thread David Miller
From: Dan Carpenter Date: Sun, 12 Jul 2015 01:20:55 +0300 > 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 Carp

[Xen-devel] [patch] net/xen-netback: off by one in BUG_ON() condition

2015-07-11 Thread Dan Carpenter
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 diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/