Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mlx4_core: Fix infinite loop on device initialization
Commit 3d73c28 ("mlx4_core: Fix section mismatches") introduced a stupid bug in device init: when some of mlx4_init_one() was split off into __mlx4_init_one(), the call from the main mlx4_init_one() function was back to mlx4_init_one() rather than to __mlx4_init_one(), which leads to an obvious infinite loop if the function is every called. Signed-off-by: Roland Dreier <rolandd@cisco.com>
- Loading branch information