commit | b027cacdabc3ffe2d2b97a55375203add64a5d29 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Sat Oct 13 14:10:50 2007 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Sat Oct 13 14:10:50 2007 -0700 |
tree | 37787d8ee8d5192213bff8b8916499591e25058b | |
parent | e86908614f2c7fec401827e5cefd7a6ea9407f85 [diff] |
mlx4_core: Fix infinite loop on device initialization Commit 3d73c288 ("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>