NVMe: Add definitions for format command
[linux-2.6-block.git] / drivers / block / nvme-core.c
index 1f98040cf677a8fe584e6150ab00c3b5abaf1709..d0cfb85d55823b1bb42ad3284bacd8b5fe8ac16e 100644 (file)
@@ -93,6 +93,7 @@ static inline void _nvme_check_size(void)
        BUILD_BUG_ON(sizeof(struct nvme_create_sq) != 64);
        BUILD_BUG_ON(sizeof(struct nvme_delete_queue) != 64);
        BUILD_BUG_ON(sizeof(struct nvme_features) != 64);
+       BUILD_BUG_ON(sizeof(struct nvme_format_cmd) != 64);
        BUILD_BUG_ON(sizeof(struct nvme_command) != 64);
        BUILD_BUG_ON(sizeof(struct nvme_id_ctrl) != 4096);
        BUILD_BUG_ON(sizeof(struct nvme_id_ns) != 4096);