From: Roland Dreier Date: Sat, 13 Oct 2007 21:10:50 +0000 (-0700) Subject: mlx4_core: Fix infinite loop on device initialization X-Git-Tag: v2.6.24-rc1~1335^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b027cacdabc3ffe2d2b97a55375203add64a5d29;p=pandora-kernel.git 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 --- Reading git-diff-tree failed