Skip to content

Commit d52b16f

Browse files
akpm00broonie
authored andcommitted
mm-remove-redundant-check-about-fault_flag_allow_retry-bit-checkpatch-fixes
WARNING: Block comments use a trailing */ on a separate line torvalds#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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 7a88d32 commit d52b16f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

arch/s390/mm/fault.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,10 @@ static inline vm_fault_t do_exception(struct pt_regs *regs, int access)
455455
if (fault & VM_FAULT_RETRY) {
456456
if (IS_ENABLED(CONFIG_PGSTE) && gmap &&
457457
(flags & FAULT_FLAG_RETRY_NOWAIT)) {
458-
/* FAULT_FLAG_RETRY_NOWAIT has been set,
459-
* mmap_lock has not been released */
458+
/*
459+
* FAULT_FLAG_RETRY_NOWAIT has been set, mmap_lock has
460+
* not been released
461+
*/
460462
current->thread.gmap_pfault = 1;
461463
fault = VM_FAULT_PFAULT;
462464
goto out_up;

0 commit comments

Comments
 (0)