[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <171923031937.22973.12976812748644513949.b4-ty@linaro.org>
Date: Mon, 24 Jun 2024 13:58:49 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Keerthy <j-keerthy@...com>,
Aleksandr Mishin <amishin@...rgos.ru>
Cc: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Grygorii Strashko <grygorii.strashko@...com>,
linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org
Subject: Re: [PATCH] gpio: davinci: Validate the obtained number of IRQs
From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
On Tue, 18 Jun 2024 17:43:44 +0300, Aleksandr Mishin wrote:
> Value of pdata->gpio_unbanked is taken from Device Tree. In case of broken
> DT due to any error this value can be any. Without this value validation
> there can be out of chips->irqs array boundaries access in
> davinci_gpio_probe().
>
> Validate the obtained nirq value so that it won't exceed the maximum
> number of IRQs per bank.
>
> [...]
Applied, thanks!
[1/1] gpio: davinci: Validate the obtained number of IRQs
commit: 7aa9b96e9a73e4ec1771492d0527bd5fc5ef9164
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Powered by blists - more mailing lists