[PATCH] i3c/master: Fix a potentially infinite loop in 'hci_dat_v1_get_index()'
Alexandre Belloni
alexandre.belloni at bootlin.com
Fri Dec 10 07:39:20 PST 2021
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 at bootlin.com>
More information about the linux-i3c
mailing list