diff options
author | Christoph Hellwig | 2022-12-21 10:30:45 +0100 |
---|---|---|
committer | Christoph Hellwig | 2022-12-28 06:25:55 -1000 |
commit | 685e6311637e46f3212439ce2789f8a300e5050f (patch) | |
tree | 730a5ae32ea43ae01effa1fc6351265b2f4d2eee /.clang-format | |
parent | 8ca4fc323d2e4ab9dabbdd57633af40b0c7e6af9 (diff) |
nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition
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>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions