x86/mce/inject: Fix a wrong assignment of i_mce.status
mainline inclusion from mainline-v5.9-rc1 commit 5d7f7d1d category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8JXMX CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d7f7d1d5e01c22894dee7c9c9266500478dca99 --------------------------- The original code is a nop as i_mce.status is or'ed with part of itself, fix it. Fixes: a1300e50 ("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:
liwei <liwei728@huawei.com>
Loading
Please sign in to comment