Messages in this thread Patch in this message | | | Date | Tue, 28 Jul 2020 15:22:20 +0530 | From | Mrinal Pandey <> | Subject | [PATCH] x86: entry: Fix a variable declaration coding style issue |
| |
Add a line after variable declaration as suggested by checkpatch on commit 3c73b81a9164 ("x86/entry, selftests: Further improve user entry sanity checks")
Signed-off-by: Mrinal Pandey <mrinalmni@gmail.com> --- arch/x86/entry/common.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/x86/entry/common.c b/arch/x86/entry/common.c index f09288431f28..0b094ed0c956 100644 --- a/arch/x86/entry/common.c +++ b/arch/x86/entry/common.c @@ -55,6 +55,7 @@ static noinstr void check_user_regs(struct pt_regs *regs) * state, not the interrupt state as imagined by Xen. */ unsigned long flags = native_save_fl(); + WARN_ON_ONCE(flags & (X86_EFLAGS_AC | X86_EFLAGS_DF | X86_EFLAGS_NT)); -- 2.25.1 [unhandled content-type:application/pgp-signature] | |