diff options
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/iwch.h')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/iwch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb3/iwch.h b/drivers/infiniband/hw/cxgb3/iwch.h index caf4e6007a44..9ad9b1e7c8c1 100644 --- a/drivers/infiniband/hw/cxgb3/iwch.h +++ b/drivers/infiniband/hw/cxgb3/iwch.h | |||
@@ -147,7 +147,7 @@ static inline int insert_handle(struct iwch_dev *rhp, struct idr *idr, | |||
147 | void *handle, u32 id) | 147 | void *handle, u32 id) |
148 | { | 148 | { |
149 | int ret; | 149 | int ret; |
150 | u32 newid; | 150 | int newid; |
151 | 151 | ||
152 | do { | 152 | do { |
153 | if (!idr_pre_get(idr, GFP_KERNEL)) { | 153 | if (!idr_pre_get(idr, GFP_KERNEL)) { |