Move source tree closer to the 2.6.32.17 mainline
/drivers/net/mlx4/icm.c
blob:04b382fcb8c881c2ab76fea05636deb63c64effd -> blob:83eef8e35b769cf0ea144326b776f135cb5baec0
--- drivers/net/mlx4/icm.c
+++ drivers/net/mlx4/icm.c
@@ -174,9 +174,10 @@ struct mlx4_icm *mlx4_alloc_icm(struct m
if (chunk->nsg <= 0)
goto fail;
+ }
+ if (chunk->npages == MLX4_ICM_CHUNK_LEN)
chunk = NULL;
- }
npages -= 1 << cur_order;
} else {