From: Suraj Sonawane <surajsonawane0215@gmail.com>
To: Bartosz Golaszewski <brgl@bgdev.pl>,
Linus Walleij <linus.walleij@linaro.org>
Cc: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] gpio: gpio-exar: replace division condition with direct comparison
Date: Thu, 14 Nov 2024 14:25:35 +0530 [thread overview]
Message-ID: <72d1ad84-de90-4378-96a2-8f01252a890a@gmail.com> (raw)
In-Reply-To: <173151185740.90976.5826366364572229214.b4-ty@linaro.org>
On 13/11/24 21:01, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.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,
Thank you for applying this patch!
next prev parent reply other threads:[~2024-11-14 8:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-12 20:16 [PATCH] gpio: gpio-exar: replace division condition with direct comparison Suraj Sonawane
2024-11-13 15:31 ` Bartosz Golaszewski
2024-11-14 8:55 ` Suraj Sonawane [this message]
2024-11-15 9:36 ` Andy Shevchenko
2024-11-15 11:55 ` Dan Carpenter
2024-11-15 11:58 ` Bartosz Golaszewski
2024-11-15 13:25 ` Suraj Sonawane
2024-11-18 9:23 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=72d1ad84-de90-4378-96a2-8f01252a890a@gmail.com \
--to=surajsonawane0215@gmail.com \
--cc=bartosz.golaszewski@linaro.org \
--cc=brgl@bgdev.pl \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox