]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: use struct group for generic command dwords
authorKeith Busch <kbusch@kernel.org>
Wed, 6 Jul 2022 17:05:05 +0000 (10:05 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 6 Jul 2022 17:12:56 +0000 (19:12 +0200)
commit7a004f030391d6588a2ed4be7498d0f360def47a
treeabc7b49e082fbcdfbeb6cc6beb26cb4f648d6c12
parent6113a1a3a5f583f5f4c40e8ccf9ce8307f942afc
nvme: use struct group for generic command dwords

This will allow the trace event to know the full size of the data
intended to be copied and silence read overflow checks.

Reported-by: John Garry <john.garry@huawei.com>
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/trace.h
include/linux/nvme.h