x86/entry: Change stale function name in comment to error_return()
authorJingyu Wang <jingyuwang_vip@163.com>
Sat, 18 Jun 2022 15:42:38 +0000 (23:42 +0800)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 6 Mar 2023 07:04:03 +0000 (08:04 +0100)
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
arch/x86/entry/entry_64.S

index eccc343..048866c 100644 (file)
@@ -1027,7 +1027,7 @@ SYM_CODE_START_LOCAL(paranoid_exit)
         *
         * NB to anyone to try to optimize this code: this code does
         * not execute at all for exceptions from user mode. Those
-        * exceptions go through error_exit instead.
+        * exceptions go through error_return instead.
         */
        RESTORE_CR3     scratch_reg=%rax save_reg=%r14