diff options
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_mmap.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_mmap.c b/drivers/infiniband/hw/qib/qib_mmap.c index 8b73a11d571c..146cf29a2e1d 100644 --- a/drivers/infiniband/hw/qib/qib_mmap.c +++ b/drivers/infiniband/hw/qib/qib_mmap.c | |||
@@ -134,7 +134,7 @@ struct qib_mmap_info *qib_create_mmap_info(struct qib_ibdev *dev, | |||
134 | void *obj) { | 134 | void *obj) { |
135 | struct qib_mmap_info *ip; | 135 | struct qib_mmap_info *ip; |
136 | 136 | ||
137 | ip = kmalloc(sizeof *ip, GFP_KERNEL); | 137 | ip = kmalloc(sizeof(*ip), GFP_KERNEL); |
138 | if (!ip) | 138 | if (!ip) |
139 | goto bail; | 139 | goto bail; |
140 | 140 | ||