lkml.org 
[lkml]   [2020]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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]
\
 
 \ /
  Last update: 2020-07-28 11:52    [W:0.733 / U:0.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site