From: Bart Van Assche <bvanassche@acm.org>
To: Uros Bizjak <ubizjak@gmail.com>, Christoph Hellwig <hch@infradead.org>
Cc: linux-block@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>,
Jens Axboe <axboe@kernel.dk>
Subject: Re: [PATCH] block: Use try_cmpxchg some more
Date: Tue, 12 Jul 2022 05:48:55 -0700 [thread overview]
Message-ID: <1f9e8664-944c-5ab2-cbc5-c40fdd9b517c@acm.org> (raw)
In-Reply-To: <CAFULd4bqmbundK=YE9A1scW6za3z4B7B_XjY=sS1R+3H40fF0Q@mail.gmail.com>
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.
prev parent reply other threads:[~2022-07-12 12:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-11 15:33 Uros Bizjak
2022-07-12 5:13 ` Christoph Hellwig
2022-07-12 7:04 ` Uros Bizjak
2022-07-12 12:48 ` Bart Van Assche [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1f9e8664-944c-5ab2-cbc5-c40fdd9b517c@acm.org \
--to=bvanassche@acm.org \
--cc=axboe@kernel.dk \
--cc=hch@infradead.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ubizjak@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®