diff options
author | Hou Wenlong <houwenlong.hwl@antgroup.com> | 2024-04-17 14:34:25 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-04-18 11:47:17 +0300 |
commit | a4b37f5033fa812f02f3b7bd1242393d347ba791 (patch) | |
tree | ce60894043961d86301a03bbeafe0d042ec81482 /arch/x86/kernel | |
parent | 32f5f73b79ffdef215e2e1bcb6ad74387c0f925c (diff) | |
download | linux-a4b37f5033fa812f02f3b7bd1242393d347ba791.tar.xz |
x86/fred: Fix incorrect error code printout in fred_bad_type()
regs->orig_ax has been set to -1 on entry so in the printout,
fred_bad_type() should use the passed parameter error_code.
Fixes: 14619d912b65 ("x86/fred: FRED entry/exit and dispatch code")
Signed-off-by: Hou Wenlong <houwenlong.hwl@antgroup.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Link: https://lore.kernel.org/r/b2a8f0a41449d25240e314a2ddfbf6549511fb04.1713353612.git.houwenlong.hwl@antgroup.com
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions