[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200728095220.sik3vkg3mezfacuf@mrinalpandey>
Date: Tue, 28 Jul 2020 15:22:20 +0530
From: Mrinal Pandey <mrinalmni@...il.com>
To: luto@...nel.org, tglx@...utronix.de, mingo@...hat.com,
bp@...en8.de, x86@...nel.org, hpa@...or.com,
linux-kernel@...r.kernel.org, mrinalmni@...il.com
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@...il.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
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists