From: Herbert Xu Subject: Re: [patch] crypto: tegra-aes - bitwise vs logical and Date: Wed, 21 Aug 2013 21:51:18 +1000 Message-ID: <20130821115118.GG23287@gondor.apana.org.au> References: <20130820085447.GA20170@elgon.mountain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "David S. Miller" , Stephen Warren , Grant Likely , Rob Herring , linux-crypto@vger.kernel.org, linux-tegra@vger.kernel.org, devicetree@vger.kernel.org, kernel-janitors@vger.kernel.org To: Dan Carpenter Return-path: Content-Disposition: inline In-Reply-To: <20130820085447.GA20170@elgon.mountain> Sender: kernel-janitors-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org On Tue, Aug 20, 2013 at 11:54:48AM +0300, Dan Carpenter wrote: > The bug here is that: > > while (eng_busy & (!icq_empty) & dma_busy) > > is never true because it's using bitwise instead of logical ANDs. The > other bitwise AND conditions work as intended but I changed them as well > for consistency. > > Signed-off-by: Dan Carpenter Also applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt