kernel/drivers/infiniband/hw/hns/hns_roce_qp.c
.. .. @@ -114,8 +114,8 @@ 114 114 static void hns_roce_ib_qp_event(struct hns_roce_qp *hr_qp, 115 115 enum hns_roce_event type) 116 116 { 117 - struct ib_event event;118 117 struct ib_qp *ibqp = &hr_qp->ibqp; 118 + struct ib_event event;119 119 120 120 if (ibqp->event_handler) { 121 121 event.device = ibqp->device;