On 2/1/23 5:10 PM, Dan Carpenter wrote: > This code accidentally reuses "tries" as the iterator for both the inside > and outside loops. It means that the potentially the "tries" could be > reset to 0x1000 and never reach 0x5000. > > Fixes: 669a5db411d8 ("[libata] Add a bunch of PATA drivers.") > Signed-off-by: Dan Carpenter <error27@xxxxxxxxx> [...] Again, I'm OK with this simplistic fix: Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx> [...] MBR, Sergey