Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git] / drivers / infiniband / core / cm.c
index c3239170d8b789e98233b3cb0e4ead65673de125..e28a494e2a3a0f72b41af479b269262c6472cb77 100644 (file)
@@ -3753,7 +3753,7 @@ static void cm_add_one(struct ib_device *ib_device)
        struct cm_port *port;
        struct ib_mad_reg_req reg_req = {
                .mgmt_class = IB_MGMT_CLASS_CM,
-               .mgmt_class_version = IB_CM_CLASS_VERSION
+               .mgmt_class_version = IB_CM_CLASS_VERSION,
        };
        struct ib_port_modify port_modify = {
                .set_port_cap_mask = IB_PORT_CM_SUP
@@ -3801,7 +3801,8 @@ static void cm_add_one(struct ib_device *ib_device)
                                                        0,
                                                        cm_send_handler,
                                                        cm_recv_handler,
-                                                       port);
+                                                       port,
+                                                       0);
                if (IS_ERR(port->mad_agent))
                        goto error2;