From: Fengguang Wu <[email protected]>

This patch corrects the following sparse warnings:

qib_iba7322.c:2746:6: warning: symbol
'qib_irq_notifier_notify' was not declared. Should it be static?
qib_iba7322.c:2762:6: warning: symbol
'qib_irq_notifier_release' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Mike Marciniszyn <[email protected]>
---
 drivers/infiniband/hw/qib/qib_iba7322.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/infiniband/hw/qib/qib_iba7322.c 
b/drivers/infiniband/hw/qib/qib_iba7322.c
index 5f266d0..46ffea0 100644
--- a/drivers/infiniband/hw/qib/qib_iba7322.c
+++ b/drivers/infiniband/hw/qib/qib_iba7322.c
@@ -2751,7 +2751,7 @@ static void qib_setup_dca(struct qib_devdata *dd)
                setup_dca_notifier(dd, &cspec->msix_entries[i]);
 }
 
-void qib_irq_notifier_notify(struct irq_affinity_notify *notify,
+static void qib_irq_notifier_notify(struct irq_affinity_notify *notify,
                             const cpumask_t *mask)
 {
        struct qib_irq_notify *n =
@@ -2767,7 +2767,7 @@ void qib_irq_notifier_notify(struct irq_affinity_notify 
*notify,
        }
 }
 
-void qib_irq_notifier_release(struct kref *ref)
+static void qib_irq_notifier_release(struct kref *ref)
 {
        struct qib_irq_notify *n =
                container_of(ref, struct qib_irq_notify, notify.kref);

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to