[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkda9aKS+54aRa92xe-cfbvpkdOAkpUptGzWgDCuc67aL=Q@mail.gmail.com>
Date: Thu, 2 Dec 2021 02:32:57 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Sean Wang <sean.wang@...nel.org>,
Zhiyong Tao <zhiyong.tao@...iatek.com>,
Matthias Brugger <matthias.bgg@...il.com>,
Chen-Yu Tsai <wenst@...omium.org>,
linux-mediatek@...ts.infradead.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Nathan Chancellor <natechancellor@...il.com>
Subject: Re: [PATCH] pinctrl: mediatek: uninitialized variable in mtk_pctrl_show_one_pin()
On Sat, Nov 27, 2021 at 3:08 PM Dan Carpenter <dan.carpenter@...cle.com> wrote:
> The "try_all_type" variable is not set if (hw->soc->pull_type) is false
> leading to the following Smatch warning:
>
> drivers/pinctrl/mediatek/pinctrl-paris.c:599 mtk_pctrl_show_one_pin()
> error: uninitialized symbol 'try_all_type'.
>
> Fixes: fb34a9ae383a ("pinctrl: mediatek: support rsel feature")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists