Message ID | 1476388576-22863-11-git-send-email-hch@lst.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
diff --git a/providers/ocrdma/ocrdma_main.c b/providers/ocrdma/ocrdma_main.c index f3830d9..39da8f0 100644 --- a/providers/ocrdma/ocrdma_main.c +++ b/providers/ocrdma/ocrdma_main.c @@ -59,7 +59,7 @@ { .vendor = PCI_VENDOR_ID_##v, \ .device = PCI_DEVICE_ID_EMULEX_##d } -struct { +static struct { unsigned vendor; unsigned device; } ucna_table[] = { diff --git a/providers/ocrdma/ocrdma_verbs.c b/providers/ocrdma/ocrdma_verbs.c index 163bf23..c5dd74b 100644 --- a/providers/ocrdma/ocrdma_verbs.c +++ b/providers/ocrdma/ocrdma_verbs.c @@ -608,7 +608,7 @@ mbx_err: return NULL; } -enum ocrdma_qp_state get_ocrdma_qp_state(enum ibv_qp_state qps) +static enum ocrdma_qp_state get_ocrdma_qp_state(enum ibv_qp_state qps) { switch (qps) { case IBV_QPS_RESET:
Signed-off-by: Christoph Hellwig <hch@lst.de> --- providers/ocrdma/ocrdma_main.c | 2 +- providers/ocrdma/ocrdma_verbs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)