nvme: fix typo in nvme_spec.h
Static assert checking size of spdk_nvme_format where it should be spdk_nvme_sanitize. Change-Id: I9af501665fe3da79ab9f5dd25600327b42f9af06 Signed-off-by: Tom Nabarro <tom.nabarro@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466533 Reviewed-by: Vitaliy Mysak <vitaliy.mysak@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
b318d5f0cb
commit
a9879ed1e8
@ -2521,7 +2521,7 @@ struct spdk_nvme_sanitize {
|
||||
/* reserved */
|
||||
uint32_t reserved : 22;
|
||||
};
|
||||
SPDK_STATIC_ASSERT(sizeof(struct spdk_nvme_format) == 4, "Incorrect size");
|
||||
SPDK_STATIC_ASSERT(sizeof(struct spdk_nvme_sanitize) == 4, "Incorrect size");
|
||||
|
||||
/* Sanitize Action */
|
||||
enum spdk_sanitize_action {
|
||||
|
Loading…
Reference in New Issue
Block a user