Skip to content

Commit 8c3223a

Browse files
lemon1989bp3tk0v
authored andcommitted
x86/entry: Change stale function name in comment to error_return()
Correct old function name error_exit() in the comment to what it is now called: error_return(). [ bp: Provide a commit message and massage. ] Signed-off-by: Jingyu Wang <jingyuwang_vip@163.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20220618154238.27749-1-jingyuwang_vip@163.com
1 parent fe15c26 commit 8c3223a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/x86/entry/entry_64.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ SYM_CODE_START_LOCAL(paranoid_exit)
10271027
*
10281028
* NB to anyone to try to optimize this code: this code does
10291029
* not execute at all for exceptions from user mode. Those
1030-
* exceptions go through error_exit instead.
1030+
* exceptions go through error_return instead.
10311031
*/
10321032
RESTORE_CR3 scratch_reg=%rax save_reg=%r14
10331033

0 commit comments

Comments
 (0)