Messages in this thread | | | From | Alexandre Belloni <> | 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 |
| |
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>
| |