From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: boris.brezillon@collabora.com,
Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
npitre@baylibre.com
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>,
linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] i3c/master: Fix a potentially infinite loop in 'hci_dat_v1_get_index()'
Date: Fri, 10 Dec 2021 16:39:20 +0100 [thread overview]
Message-ID: <163915075349.211901.7503592107826023565.b4-ty@bootlin.com> (raw)
In-Reply-To: <0cdf3cb10293ead1acd271fdb8a70369c298c082.1637186628.git.christophe.jaillet@wanadoo.fr>
On Wed, 17 Nov 2021 23:05:23 +0100, Christophe JAILLET wrote:
> The code in 'hci_dat_v1_get_index()' really looks like a hand coded version
> of 'for_each_set_bit()', except that a +1 is missing when searching for the
> next set bit.
>
> This really looks odd and it seems that it will loop until 'dat_w0_read()'
> returns the expected result.
>
> [...]
Applied, thanks!
[1/1] i3c/master: Fix a potentially infinite loop in 'hci_dat_v1_get_index()'
commit: 3f43926f271287fb1744c9ac9ae1122497f2b0c2
Best regards,
--
Alexandre Belloni <alexandre.belloni@bootlin.com>
--
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c
prev parent reply other threads:[~2021-12-10 15:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 22:05 [PATCH] i3c/master: Fix a potentially infinite loop in 'hci_dat_v1_get_index()' Christophe JAILLET
2021-11-19 23:16 ` Nicolas Pitre
2021-12-10 15:39 ` Alexandre Belloni [this message]
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=163915075349.211901.7503592107826023565.b4-ty@bootlin.com \
--to=alexandre.belloni@bootlin.com \
--cc=boris.brezillon@collabora.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-i3c@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=npitre@baylibre.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).