[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbbk74DhCeQ2h=3-innkRCAqk_x-iqhVUc0YgM7G=YuNg@mail.gmail.com>
Date: Fri, 30 Jun 2017 15:50:33 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Colin King <colin.king@...onical.com>
Cc: "linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: rza1: fix incorrect failure check on platform_get_resources
On Fri, Jun 30, 2017 at 12:33 PM, Colin King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The return res from platform_get_resources should be checked for
> a failure rather than ret. Fixes warning:
>
> 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
>
> Fixes: 5a49b644b307 ("pinctrl: Renesas RZ/A1 pin and gpio controller")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Geert already sent the right fix for this.
Yours,
Linus Walleij
Powered by blists - more mailing lists