Message ID | 1476388576-22863-16-git-send-email-hch@lst.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/providers/mlx5/mlx5.c b/providers/mlx5/mlx5.c index f24e504..4b05dc4 100644 --- a/providers/mlx5/mlx5.c +++ b/providers/mlx5/mlx5.c @@ -62,7 +62,7 @@ { .vendor = PCI_VENDOR_ID_##v, \ .device = d } -struct { +static struct { unsigned vendor; unsigned device; } hca_table[] = { diff --git a/providers/mlx5/verbs.c b/providers/mlx5/verbs.c index ef85a63..e288ebf 100644 --- a/providers/mlx5/verbs.c +++ b/providers/mlx5/verbs.c @@ -1184,7 +1184,7 @@ enum { IBV_QP_INIT_ATTR_RX_HASH), }; -struct ibv_qp *create_qp(struct ibv_context *context, +static struct ibv_qp *create_qp(struct ibv_context *context, struct ibv_qp_init_attr_ex *attr) { struct mlx5_create_qp cmd;
Signed-off-by: Christoph Hellwig <hch@lst.de> --- providers/mlx5/mlx5.c | 2 +- providers/mlx5/verbs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)