PCI: Fix uninitialized variable bug in AER injection code
authorWanlong Gao <wanlong.gao@gmail.com>
Mon, 4 Apr 2011 09:12:59 +0000 (17:12 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 10 May 2011 22:43:30 +0000 (15:43 -0700)
commit40294d8f14384780a61a2dea8c92a231176ae301
tree3f77092858a965b10827bd10b2a9171489a6f343
parent0e8ede5351b53610363215f750e576ca1db1d0cd
PCI: Fix uninitialized variable bug in AER injection code

If it was preempted, and the variable aer_mask_override is changed
after the spin_unlock_irqrestore it will write an uninitialized
variable by the pci_write_config_dword() function.

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aer/aer_inject.c