[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <173151185740.90976.5826366364572229214.b4-ty@linaro.org>
Date: Wed, 13 Nov 2024 16:31:01 +0100
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Suraj Sonawane <surajsonawane0215@...il.com>
Cc: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio: gpio-exar: replace division condition with direct comparison
From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
On Wed, 13 Nov 2024 01:46:59 +0530, Suraj Sonawane wrote:
> Fix an issue detected by the Smatch tool:
>
> drivers/gpio/gpio-exar.c:52 exar_offset_to_sel_addr() warn:
> replace divide condition 'pin / 8' with 'pin >= 8'
> drivers/gpio/gpio-exar.c:62 exar_offset_to_lvl_addr() warn:
> replace divide condition 'pin / 8' with 'pin >= 8'
>
> [...]
Applied, thanks!
[1/1] gpio: gpio-exar: replace division condition with direct comparison
commit: 8f0aa162bcf818631e845c2e6c090c7b3c64fd9d
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Powered by blists - more mailing lists