Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752318AbbHTGoh (ORCPT ); Thu, 20 Aug 2015 02:44:37 -0400 Received: from helcar.hengli.com.au ([209.40.204.226]:56999 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751552AbbHTGog (ORCPT ); Thu, 20 Aug 2015 02:44:36 -0400 Date: Thu, 20 Aug 2015 14:44:26 +0800 From: Herbert Xu To: Maxime Ripard Cc: Michal Suchanek , "David S. Miller" , Corentin Labbe , Linux Kernel Mailing List , linux-crypto@vger.kernel.org, "linux-arm-kernel@lists.infradead.org" Subject: Re: un4i-ss-cipher.c warning Message-ID: <20150820064426.GA26787@gondor.apana.org.au> References: <20150820052903.GA26031@gondor.apana.org.au> <20150820063900.GJ30520@lukather> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150820063900.GJ30520@lukather> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 688 Lines: 18 On Thu, Aug 20, 2015 at 08:39:00AM +0200, Maxime Ripard wrote: > > Not in the dev_dbg call line 258. If ileft was negative or null, todo > isn't assigned to anything. If ileft starts out being <= 0, then oleft == ileft will also be <= 0, in which case the loop never executes. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/