Message ID | 1476388576-22863-14-git-send-email-hch@lst.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/providers/nes/nes_umain.c b/providers/nes/nes_umain.c index b4e0bc1..4b19dd7 100644 --- a/providers/nes/nes_umain.c +++ b/providers/nes/nes_umain.c @@ -60,7 +60,7 @@ long int page_size; .device = d, \ .type = NETEFFECT_##t } -struct { +static struct { unsigned vendor; unsigned device; enum nes_uhca_type type; diff --git a/providers/nes/nes_uverbs.c b/providers/nes/nes_uverbs.c index 287e773..f404ffd 100644 --- a/providers/nes/nes_uverbs.c +++ b/providers/nes/nes_uverbs.c @@ -759,7 +759,7 @@ int nes_upoll_cq_no_db_read(struct ibv_cq *cq, int num_entries, struct ibv_wc *e /** * nes_arm_cq */ -void nes_arm_cq(struct nes_ucq *nesucq, struct nes_uvcontext *nesvctx, int sol) +static void nes_arm_cq(struct nes_ucq *nesucq, struct nes_uvcontext *nesvctx, int sol) { uint32_t cq_arm;
Signed-off-by: Christoph Hellwig <hch@lst.de> --- providers/nes/nes_umain.c | 2 +- providers/nes/nes_uverbs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)