[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150104230417.GH4806@salidar.dom.custoft.eu>
Date: Mon, 5 Jan 2015 00:04:17 +0100
From: Giel van Schijndel <me@...tis.eu>
To: linux-kernel@...r.kernel.org
Cc: Jitendra Kalsaria <jitendra.kalsaria@...gic.com>,
Ron Mercer <ron.mercer@...gic.com>,
"supporter:QLOGIC QLA3XXX NE..." <linux-driver@...gic.com>,
"open list:QLOGIC QLA3XXX NE..." <netdev@...r.kernel.org>
Subject: Re: [PATCH] Fix an infinite retry-loop
On Sun, Jan 04, 2015 at 19:04:55 +0100, Giel van Schijndel wrote:
> This was clearly intended as a retry-10-times loop, but due to the
> absence of code incrementing the loop-counter it was practically a
> retry-forever loop.
>
> Rewritten it as a for-loop as well to make the loop-counter increment
> (as well as its potential absence) easier to spot.
> ---
Forgot to:
Signed-off-by: Giel van Schijndel <me@...tis.eu>
--
Met vriendelijke groet,
With kind regards,
Giel van Schijndel
--
"A computer is a stupid machine with the ability to do incredibly smart
things, while computer programmers are smart people with the ability to
do incredibly stupid things. They are, in short, a perfect match.
-- Bill Bryson
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists