[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163915075349.211901.7503592107826023565.b4-ty@bootlin.com>
Date: Fri, 10 Dec 2021 16:39:20 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: boris.brezillon@...labora.com,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
npitre@...libre.com
Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>,
linux-i3c@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] i3c/master: Fix a potentially infinite loop in 'hci_dat_v1_get_index()'
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@...tlin.com>
Powered by blists - more mailing lists