[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaV0HL1v0z6NTLsuBKEu+bSxKCu=nHoNX=d39oWmchL+A@mail.gmail.com>
Date: Mon, 28 Dec 2015 01:35:17 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc: Alexandre Courbot <gnurou@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH v2] gpiolib: fix warning about iterator
On Sun, Dec 27, 2015 at 2:36 PM, Sudip Mukherjee
<sudipm.mukherjee@...il.com> wrote:
> We were getting build warning about "iterator" being used uninitialized.
> Use iterator properly to fix the build warning and in the process remove
> the variable "pos" which is not required now.
>
> Signed-off-by: Sudip Mukherjee <sudip@...torindia.org>
> ---
>
> v1: at the end of the loop iterator will point to head and we are trying
> to check its field.
OK took the v1 out and applied this version instead.
Yours,
Linus Walleij
--
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