aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/hw/qib/qib_mad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_mad.c b/drivers/infiniband/hw/qib/qib_mad.c
index edad991d60ed..22c720e5740d 100644
--- a/drivers/infiniband/hw/qib/qib_mad.c
+++ b/drivers/infiniband/hw/qib/qib_mad.c
@@ -1028,7 +1028,7 @@ static int set_pkeys(struct qib_devdata *dd, u8 port, u16 *pkeys)
1028 1028
1029 event.event = IB_EVENT_PKEY_CHANGE; 1029 event.event = IB_EVENT_PKEY_CHANGE;
1030 event.device = &dd->verbs_dev.ibdev; 1030 event.device = &dd->verbs_dev.ibdev;
1031 event.element.port_num = 1; 1031 event.element.port_num = port;
1032 ib_dispatch_event(&event); 1032 ib_dispatch_event(&event);
1033 } 1033 }
1034 return 0; 1034 return 0;