IB/mad: add new ioctl to ABI to support new registration options
[linux-2.6-block.git] / drivers / infiniband / core / sa_query.c
index 233eaf541f55121a3213f55f6771cda15f7e40d2..c38f030f0dc994d7e3edd6b4bd5af893c03d8214 100644 (file)
@@ -1184,7 +1184,7 @@ static void ib_sa_add_one(struct ib_device *device)
                sa_dev->port[i].agent =
                        ib_register_mad_agent(device, i + s, IB_QPT_GSI,
                                              NULL, 0, send_handler,
-                                             recv_handler, sa_dev);
+                                             recv_handler, sa_dev, 0);
                if (IS_ERR(sa_dev->port[i].agent))
                        goto err;