diff options
Diffstat (limited to 'drivers/infiniband/core/cm.c')
-rw-r--r-- | drivers/infiniband/core/cm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/core/cm.c b/drivers/infiniband/core/cm.c index 8b72f39202fb..c889aaef3416 100644 --- a/drivers/infiniband/core/cm.c +++ b/drivers/infiniband/core/cm.c | |||
@@ -3659,7 +3659,7 @@ static struct kobj_type cm_port_obj_type = { | |||
3659 | .release = cm_release_port_obj | 3659 | .release = cm_release_port_obj |
3660 | }; | 3660 | }; |
3661 | 3661 | ||
3662 | static char *cm_devnode(struct device *dev, mode_t *mode) | 3662 | static char *cm_devnode(struct device *dev, umode_t *mode) |
3663 | { | 3663 | { |
3664 | if (mode) | 3664 | if (mode) |
3665 | *mode = 0666; | 3665 | *mode = 0666; |