]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme: Introduce a union in struct nvme_dev for different transport types
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 13 Jul 2022 05:19:24 +0000 (13:19 +0800)
committerDaniel Wagner <dwagner@suse.de>
Fri, 12 Aug 2022 06:52:28 +0000 (08:52 +0200)
commit3c7a9be77d2dbc037728226b103f9c57e49bcaad
treefbac70dc1f7349344a3cb67cfb9d654911ec675a
parentd986de55cdd9b5d0e88e9c99390d0caa666fbc93
nvme: Introduce a union in struct nvme_dev for different transport types

This change modifies struct nvme_dev to allow for future transport
types, by moving the transport-specific data into a union. We will add
new types in a future change.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
nvme.c
nvme.h