[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150820064426.GA26787@gondor.apana.org.au>
Date: Thu, 20 Aug 2015 14:44:26 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Maxime Ripard <maxime.ripard@...e-electrons.com>
Cc: Michal Suchanek <hramrach@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Corentin Labbe <clabbe.montjoie@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-crypto@...r.kernel.org,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: un4i-ss-cipher.c warning
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 <herbert@...dor.apana.org.au>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists