]> www.infradead.org Git - users/hch/misc.git/commit
nvme-pci: remove struct nvme_descriptor
authorChristoph Hellwig <hch@lst.de>
Sat, 5 Oct 2024 16:56:24 +0000 (18:56 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 23 Oct 2024 16:45:24 +0000 (18:45 +0200)
commit52f6891e5ed2d9f5e8e01b84eb6f6ba44267c130
tree99a72de661889d9fa03410b2081de49b69a6f970
parentd64b02e852dceebd667c044617270ea99439134c
nvme-pci: remove struct nvme_descriptor

There is no real point in having a union of two pointer types here, just
use a void pointer as we mix and match types between the arms of the
union between the allocation and freeing side already.

Also rename the nr_allocations field to nr_descriptors to better describe
what it does.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c