From: Jens Axboe <axboe@fb.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [patch] NVMe: Precedence error in nvme_pr_clear()
Date: Tue, 03 Nov 2015 19:58:33 +0000 [thread overview]
Message-ID: <563911E9.6080605@fb.com> (raw)
In-Reply-To: <20151103195049.GA17238@mwanda>
On 11/03/2015 12:50 PM, Dan Carpenter wrote:
> The original code is equivalent to:
>
> u32 cdw10 = (1 | key) ? 1 << 3 : 0;
>
> But we want:
>
> u32 cdw10 = 1 | (key ? 1 << 3 : 0);
>
> Fixes: 1d277a637a71: ('NVMe: Add persistent reservation ops')
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Thanks Dan, applied.
--
Jens Axboe
WARNING: multiple messages have this Message-ID (diff)
From: axboe@fb.com (Jens Axboe)
Subject: [patch] NVMe: Precedence error in nvme_pr_clear()
Date: Tue, 3 Nov 2015 12:58:33 -0700 [thread overview]
Message-ID: <563911E9.6080605@fb.com> (raw)
In-Reply-To: <20151103195049.GA17238@mwanda>
On 11/03/2015 12:50 PM, Dan Carpenter wrote:
> The original code is equivalent to:
>
> u32 cdw10 = (1 | key) ? 1 << 3 : 0;
>
> But we want:
>
> u32 cdw10 = 1 | (key ? 1 << 3 : 0);
>
> Fixes: 1d277a637a71: ('NVMe: Add persistent reservation ops')
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
Thanks Dan, applied.
--
Jens Axboe
next prev parent reply other threads:[~2015-11-03 19:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20151103125815.GA5825@mwanda>
2015-11-03 15:39 ` NVMe: Add persistent reservation ops Keith Busch
2015-11-03 19:50 ` [patch] NVMe: Precedence error in nvme_pr_clear() Dan Carpenter
2015-11-03 19:50 ` Dan Carpenter
2015-11-03 19:58 ` Jens Axboe [this message]
2015-11-03 19:58 ` Jens Axboe
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=563911E9.6080605@fb.com \
--to=axboe@fb.com \
--cc=kernel-janitors@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.