summaryrefslogtreecommitdiff
path: root/include/rdma/opa_vnic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rdma/opa_vnic.h')
-rw-r--r--include/rdma/opa_vnic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rdma/opa_vnic.h b/include/rdma/opa_vnic.h
index 0c07a70bd7f6..e90b149fe92a 100644
--- a/include/rdma/opa_vnic.h
+++ b/include/rdma/opa_vnic.h
@@ -75,7 +75,7 @@
struct opa_vnic_rdma_netdev {
struct rdma_netdev rn; /* keep this first */
/* followed by device private data */
- char *dev_priv[0];
+ char *dev_priv[];
};
static inline void *opa_vnic_priv(const struct net_device *dev)