From: Dan Carpenter Date: Sat, 11 Jul 2015 22:20:55 +0000 (+0300) Subject: net/xen-netback: off by one in BUG_ON() condition X-Git-Tag: omap-for-v4.3/fixes-merge-window~206^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50c2e4dd6749725338621fff456b26d3a592259f;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed