diff options
author | Christoph Hellwig <hch@lst.de> | 2022-12-21 10:30:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-04 11:26:24 +0100 |
commit | 235cc9ae7b94a2c33359b05c8a44bcf7cf7488ef (patch) | |
tree | 7e98af2157182229e397a18d64594f3aee01c579 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c8b89f10a4dba4276764ea7e03e3961ba5ff40de (diff) |
nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition
[ Upstream commit 685e6311637e46f3212439ce2789f8a300e5050f ]
3 << 16 does not generate the correct mask for bits 16, 17 and 18.
Use the GENMASK macro to generate the correct mask instead.
Fixes: 84fef62d135b ("nvme: check admin passthru command effects")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions