diff options
author | Zhenzhong Duan <zhenzhong.duan@gmail.com> | 2020-06-11 10:32:38 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-19 08:15:53 +0200 |
commit | 072d1300f1ce2a47881a368390c31e2ed347d050 (patch) | |
tree | 8ecf9a7765c9d1b2db1a969846f19f6a305dfd2b /kernel | |
parent | a36ff7a40d11f066c5654be82c35a10cc0c40d47 (diff) | |
download | linux-stable-072d1300f1ce2a47881a368390c31e2ed347d050.tar.gz linux-stable-072d1300f1ce2a47881a368390c31e2ed347d050.tar.bz2 linux-stable-072d1300f1ce2a47881a368390c31e2ed347d050.zip |
x86/mce/inject: Fix a wrong assignment of i_mce.status
[ Upstream commit 5d7f7d1d5e01c22894dee7c9c9266500478dca99 ]
The original code is a nop as i_mce.status is or'ed with part of itself,
fix it.
Fixes: a1300e505297 ("x86/ras/mce_amd_inj: Trigger deferred and thresholding errors interrupts")
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@gmail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Yazen Ghannam <yazen.ghannam@amd.com>
Link: https://lkml.kernel.org/r/20200611023238.3830-1-zhenzhong.duan@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions