Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13767
b: refs/heads/master
c: 8b37b94
h: refs/heads/master
i:
  13765: 1ab2fa1
  13763: e7ab489
  13759: 4cbc1fe
v: v3
  • Loading branch information
Michael S. Tsirkin authored and Roland Dreier committed Nov 6, 2005
1 parent 38e43d1 commit 0ee065e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0f69ce1e4474e5d5e266457e8a1f4166cf71f6c7
refs/heads/master: 8b37b94721533f2729c79bcb6fa0bb3e2bc2f400
4 changes: 2 additions & 2 deletions trunk/drivers/infiniband/core/user_mad.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ static int ib_umad_init_port(struct ib_device *device, int port_num,
goto err_class;
port->sm_dev->owner = THIS_MODULE;
port->sm_dev->ops = &umad_sm_fops;
kobject_set_name(&port->dev->kobj, "issm%d", port->dev_num);
kobject_set_name(&port->sm_dev->kobj, "issm%d", port->dev_num);
if (cdev_add(port->sm_dev, base_dev + port->dev_num + IB_UMAD_MAX_PORTS, 1))
goto err_sm_cdev;

Expand Down Expand Up @@ -913,7 +913,7 @@ static void ib_umad_add_one(struct ib_device *device)

err:
while (--i >= s)
ib_umad_kill_port(&umad_dev->port[i]);
ib_umad_kill_port(&umad_dev->port[i - s]);

kref_put(&umad_dev->ref, ib_umad_release_dev);
}
Expand Down

0 comments on commit 0ee065e

Please sign in to comment.