From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [patch] net/xen-netback: off by one in BUG_ON() condition Date: Tue, 14 Jul 2015 15:42:23 -0700 (PDT) Message-ID: <20150714.154223.1886620792340165985.davem@davemloft.net> References: <20150711222055.GA11708@mwanda> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: ian.campbell@citrix.com, zoltan.kiss@citrix.com, wei.liu2@citrix.com, xen-devel@lists.xenproject.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org To: dan.carpenter@oracle.com Return-path: In-Reply-To: <20150711222055.GA11708@mwanda> Sender: kernel-janitors-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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 Carpenter Applied and queued up for -stable, thanks.