mlx5: minor fixes (mainly avoidance of hidden casts)
[linux-2.6-block.git] / drivers / infiniband / hw / mlx5 / main.c
index f2cfd363a705e93ecf66c42e68222d7fd62ca3e9..166335a95c5996c7cca306c13127c7de96c78fcf 100644 (file)
@@ -478,7 +478,7 @@ static struct ib_ucontext *mlx5_ib_alloc_ucontext(struct ib_device *ibdev,
        int uuarn;
        int err;
        int i;
-       int reqlen;
+       size_t reqlen;
 
        if (!dev->ib_active)
                return ERR_PTR(-EAGAIN);