Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254289
b: refs/heads/master
c: b2bc478
h: refs/heads/master
i:
  254287: 6097187
v: v3
  • Loading branch information
Goldwyn Rodrigues authored and Linus Torvalds committed Jul 4, 2011
1 parent 56bafc8 commit 9024b73
Show file tree
Hide file tree
Showing 3 changed files with 5 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: ba466c74d99b91b2f390a09ad31bbc6cddd8cf4b
refs/heads/master: b2bc4782191cb574924a1d09f48083ea8b33a93b
3 changes: 2 additions & 1 deletion trunk/drivers/infiniband/core/cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -3641,7 +3641,8 @@ static struct kobj_type cm_port_obj_type = {

static char *cm_devnode(struct device *dev, mode_t *mode)
{
*mode = 0666;
if (mode)
*mode = 0666;
return kasprintf(GFP_KERNEL, "infiniband/%s", dev_name(dev));
}

Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/infiniband/core/uverbs_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,8 @@ static void ib_uverbs_remove_one(struct ib_device *device)

static char *uverbs_devnode(struct device *dev, mode_t *mode)
{
*mode = 0666;
if (mode)
*mode = 0666;
return kasprintf(GFP_KERNEL, "infiniband/%s", dev_name(dev));
}

Expand Down

0 comments on commit 9024b73

Please sign in to comment.