Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1210192

Re: un4i-ss-cipher.c warning

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: un4i-ss-cipher.c warning
Date 2015-08-20 08:50 +0200
Message-ID <pZrPI-5tD-5@gated-at.bofh.it> (permalink)
References <pZcH0-eH-25@gated-at.bofh.it> <pZqAi-3Bi-9@gated-at.bofh.it> <pZrG1-5if-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gondor.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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

un4i-ss-cipher.c warning Michal Suchanek <hramrach@gmail.com> - 2015-08-19 16:40 +0200
  Re: un4i-ss-cipher.c warning Herbert Xu <herbert@gondor.apana.org.au> - 2015-08-20 07:30 +0200
    Re: un4i-ss-cipher.c warning Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-08-20 08:40 +0200
      Re: un4i-ss-cipher.c warning Herbert Xu <herbert@gondor.apana.org.au> - 2015-08-20 08:50 +0200
  Re: un4i-ss-cipher.c warning Corentin LABBE <clabbe.montjoie@gmail.com> - 2015-08-20 16:00 +0200
    Re: un4i-ss-cipher.c warning Herbert Xu <herbert@gondor.apana.org.au> - 2015-08-21 00:10 +0200

csiph-web