Skip to content
Commit 40294d8f authored by Wanlong Gao's avatar Wanlong Gao Committed by Jesse Barnes
Browse files

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: default avatarWanlong Gao <wanlong.gao@gmail.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 0e8ede53
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment