From: Joe Lawrence Date: Tue, 26 Aug 2014 21:12:29 +0000 (-0400) Subject: qla2xxx: Prevent probe and board_disable race X-Git-Tag: fixes-for-v3.18-merge-window~25^2^2~154 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b3839790b16adffbbe2f5967e149562a5a603e8;p=pandora-kernel.git qla2xxx: Prevent probe and board_disable race The PCI register read checking introduced in commit fe1b806f4f71 ("qla2xxx: Disable adapter when we encounter a PCI disconnect") is active during driver probe. Hold off scheduling any board removal until the driver probe has completed. This ensures that the the board_disable work structure is initialized and more importantly, avoids racing qla2x00_probe_one. Signed-off-by: Joe Lawrence Acked-by: Chad Dupuis Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed