summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-12-21 12:30:45 +0300
committerChristoph Hellwig <hch@lst.de>2022-12-28 19:25:55 +0300
commit685e6311637e46f3212439ce2789f8a300e5050f (patch)
tree730a5ae32ea43ae01effa1fc6351265b2f4d2eee /virt
parent8ca4fc323d2e4ab9dabbdd57633af40b0c7e6af9 (diff)
downloadlinux-685e6311637e46f3212439ce2789f8a300e5050f.tar.xz
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 'virt')
0 files changed, 0 insertions, 0 deletions