From add8fc157502d02e5e1137b57b1e0f36fca4642e Mon Sep 17 00:00:00 2001 From: Jacek Kalwas Date: Fri, 18 Dec 2020 11:53:03 -0500 Subject: [PATCH] nvmf: clarify on opts description New added fields should be put at the end of the struct. Signed-off-by: Jacek Kalwas Change-Id: Ibfa9d1967685ff4af6cef78806f403ba15e1ec01 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5642 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris Reviewed-by: Shuhei Matsumoto Tested-by: SPDK CI Jenkins --- include/spdk/nvmf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdk/nvmf.h b/include/spdk/nvmf.h index e955b1d89..d6badf951 100644 --- a/include/spdk/nvmf.h +++ b/include/spdk/nvmf.h @@ -93,7 +93,7 @@ struct spdk_nvmf_transport_opts { * The size of spdk_nvmf_transport_opts according to the caller of this library is used for ABI * compatibility. The library uses this field to know how many fields in this * structure are valid. And the library will populate any remaining fields with default values. - * After that, new added fields should be put after opts_size. + * New added fields should be put at the end of the struct. */ size_t opts_size; };