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)
commit5c629dc9609dc43492a7bc8060cc6120875bf096
treeabc7b49e082fbcdfbeb6cc6beb26cb4f648d6c12
parent73029c9b23cf1213e5f54c2b59efce08665199e7
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