[PATCH] x86: entry: Fix a variable declaration coding style issue

From: Mrinal Pandey
Date: Tue Jul 28 2020 - 05:52:29 EST


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@xxxxxxxxx>
---
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

Attachment: signature.asc
Description: PGP signature