diff options
author | 2009-05-28 11:23:08 +0000 | |
---|---|---|
committer | 2009-05-29 01:54:41 -0700 | |
commit | c22c8149313ee85c912e7b77a7afd04be8b8cba8 (patch) | |
tree | 84f18d574d01a0e7222c54f38d8e9cba9ba1c468 /kernel/irq/pm.c | |
parent | cxgb3: fix dma mapping regression (diff) | |
download | wireguard-linux-c22c8149313ee85c912e7b77a7afd04be8b8cba8.tar.xz wireguard-linux-c22c8149313ee85c912e7b77a7afd04be8b8cba8.zip |
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 <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/irq/pm.c')
0 files changed, 0 insertions, 0 deletions