aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma/rdma_user_rxe.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/rdma/rdma_user_rxe.h')
-rw-r--r--include/uapi/rdma/rdma_user_rxe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/rdma/rdma_user_rxe.h b/include/uapi/rdma/rdma_user_rxe.h
index e283c2220aba..7f44d54bb0ab 100644
--- a/include/uapi/rdma/rdma_user_rxe.h
+++ b/include/uapi/rdma/rdma_user_rxe.h
@@ -141,8 +141,8 @@ struct rxe_dma_info {
__u32 sge_offset;
__u32 reserved;
union {
- __u8 inline_data[0];
- struct rxe_sge sge[0];
+ __DECLARE_FLEX_ARRAY(__u8, inline_data);
+ __DECLARE_FLEX_ARRAY(struct rxe_sge, sge);
};
};