Re: [PATCH] block: Use try_cmpxchg some more

From: Bart Van Assche
Date: Tue Jul 12 2022 - 08:49:05 EST


On 7/12/22 00:04, Uros Bizjak wrote:
while (try_cmpxchg ...);

looks to me like a semicolon was left there in error, like "if (...);".

Putting the semicolon at the end is not what Christoph suggested and is not allowed by the kernel coding style.

I also prefer the while-loop instead of do-while.

Thanks,

Bart.