diff options
author | 2015-11-03 22:50:49 +0300 | |
---|---|---|
committer | 2015-11-03 12:59:03 -0700 | |
commit | 73fcf4e20ebd19468b3ad033be93582258435462 (patch) | |
tree | 42033aec1c188a6730b12d13a12eb506dfcfe9e3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme: add missing endianess annotations in nvme_pr_command (diff) | |
download | wireguard-linux-73fcf4e20ebd19468b3ad033be93582258435462.tar.xz wireguard-linux-73fcf4e20ebd19468b3ad033be93582258435462.zip |
NVMe: Precedence error in nvme_pr_clear()
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>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions