From 42f1537e5e80ec6473d414028466e033ece59b64 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 30 Nov 2021 14:50:48 +1100 Subject: [PATCH] mm-remove-redundant-check-about-fault_flag_allow_retry-bit-checkpatch-fixes WARNING: Block comments use a trailing */ on a separate line #407: FILE: arch/s390/mm/fault.c:459: + * mmap_lock has not been released */ total: 0 errors, 1 warnings, 444 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. ./patches/mm-remove-redundant-check-about-fault_flag_allow_retry-bit.patch has style problems, please review. NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Qi Zheng Signed-off-by: Andrew Morton Signed-off-by: Stephen Rothwell --- arch/s390/mm/fault.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c index 43d79d051dd841..d7d6be283d9425 100644 --- a/arch/s390/mm/fault.c +++ b/arch/s390/mm/fault.c @@ -455,8 +455,10 @@ static inline vm_fault_t do_exception(struct pt_regs *regs, int access) if (fault & VM_FAULT_RETRY) { if (IS_ENABLED(CONFIG_PGSTE) && gmap && (flags & FAULT_FLAG_RETRY_NOWAIT)) { - /* FAULT_FLAG_RETRY_NOWAIT has been set, - * mmap_lock has not been released */ + /* + * FAULT_FLAG_RETRY_NOWAIT has been set, mmap_lock has + * not been released + */ current->thread.gmap_pfault = 1; fault = VM_FAULT_PFAULT; goto out_up;