[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1f9e8664-944c-5ab2-cbc5-c40fdd9b517c@acm.org>
Date: Tue, 12 Jul 2022 05:48:55 -0700
From: Bart Van Assche <bvanassche@....org>
To: Uros Bizjak <ubizjak@...il.com>,
Christoph Hellwig <hch@...radead.org>
Cc: linux-block@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Jens Axboe <axboe@...nel.dk>
Subject: Re: [PATCH] block: Use try_cmpxchg some more
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.
Powered by blists - more mailing lists