[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175207046834.40307.8526281080348815423.b4-ty@linaro.org>
Date: Wed, 9 Jul 2025 16:16:12 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Alexander Stein <alexander.stein@...tq-group.com>
Cc: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] gpiolib: of: Initialize variable
From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
On Tue, 08 Jul 2025 10:38:29 +0200, Alexander Stein wrote:
> of_flags is passed down to GPIO chip's xlate function, so ensure this one
> is properly initialized.
>
>
Yeah, looks like it's a bad idea to pass an uninitialized variable several
levels up the stack. I improved the commit message a bit and queued it for
fixes. It has always been like this so there isn't really a Fixes tag.
[1/1] gpiolib: of: Initialize variable
https://git.kernel.org/brgl/linux/c/d563e7f95c933816efe531c3a48e22bc099c0f55
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Powered by blists - more mailing lists