aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nvme/nvme.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2024-05-08 23:05:39 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2024-05-08 23:05:39 +0000
commitebcfab998e631fa7e29e1c0694868d745fc085ee (patch)
treedb6f4e59668056c9eb16823662c6c26d15df9eee /sys/dev/nvme/nvme.h
parent2ae0f5a4d0931067c672be9a791909f0e32d5a0e (diff)
Diffstat (limited to 'sys/dev/nvme/nvme.h')
-rw-r--r--sys/dev/nvme/nvme.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nvme/nvme.h b/sys/dev/nvme/nvme.h
index 6ef7a2bd8aad..bca4df92cb25 100644
--- a/sys/dev/nvme/nvme.h
+++ b/sys/dev/nvme/nvme.h
@@ -832,7 +832,7 @@ struct nvme_command {
uint32_t cdw13; /* command-specific */
uint32_t cdw14; /* command-specific */
uint32_t cdw15; /* command-specific */
-};
+} __aligned(8);
_Static_assert(sizeof(struct nvme_command) == 16 * 4, "bad size for nvme_command");