[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110223151618.GA27806@becoht-mvanga>
Date: Wed, 23 Feb 2011 16:16:18 +0100
From: Manohar Vanga <manohar.vanga@...n.ch>
To: Martyn Welch <martyn.welch@...com>
CC: Dan Carpenter <error27@...il.com>, <devel@...verdev.osuosl.org>,
<cota@...ap.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] Staging: vme: remove unreachable code
> > There are two problems with this loop. 1) It unregisters the device
> > which failed to register. 2) It is a forever loop.
> >
>
> Even if "i" is a signed int?
The infinite loop is because "i" is not decremented anywhere in the loop. Not
because of signedness.
Thanks,
Manohar Vanga
--
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