From: Divy Le Ray Date: Thu, 28 May 2009 11:23:08 +0000 (+0000) Subject: cxgb3: link fault fixes X-Git-Tag: v2.6.30-rc8~9^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c22c8149313ee85c912e7b77a7afd04be8b8cba8;p=pandora-kernel.git cxgb3: link fault fixes Do not call t3_link_fault() under spinlock, as it calls msleep(). Besides, only the access to pi->link_fault needs to be serialized. Also initialize local variables before checking the link status, link state fields might otherwise end up containing garbage. Signed-off-by: Divy Le Ray Signed-off-by: David S. Miller --- Reading git-diff-tree failed