]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm-page_alloc-convert-per-cpu-list-protection-to-local_lock-fix-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 2 Jun 2021 03:52:37 +0000 (13:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 2 Jun 2021 03:52:37 +0000 (13:52 +1000)
WARNING: Non-standard signature: Debugged-by:
#77:
Debugged-by: Andrii Nakryiko <andrii.nakryiko@gmail.com>
WARNING: please, no spaces at the start of a line
#117: FILE: mm/page_alloc.c:128:
+    !defined(CONFIG_DEBUG_LOCK_ALLOC) &&^I^I\$

WARNING: please, no spaces at the start of a line
#118: FILE: mm/page_alloc.c:129:
+    !defined(CONFIG_PAHOLE_HAS_ZEROSIZE_PERCPU_SUPPORT)$

total: 0 errors, 3 warnings, 26 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-page_alloc-convert-per-cpu-list-protection-to-local_lock-fix.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: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/page_alloc.c

index 9dcb876a5603fd535f3b8560e36f42571e9412dd..c64ee20c5ed14ba62d09b8595c3aec8188e86d84 100644 (file)
@@ -124,9 +124,9 @@ static DEFINE_MUTEX(pcp_batch_high_lock);
 
 struct pagesets {
        local_lock_t lock;
-#if defined(CONFIG_DEBUG_INFO_BTF) &&                  \
-    !defined(CONFIG_DEBUG_LOCK_ALLOC) &&               \
-    !defined(CONFIG_PAHOLE_HAS_ZEROSIZE_PERCPU_SUPPORT)
+#if defined(CONFIG_DEBUG_INFO_BTF) &&                          \
+       !defined(CONFIG_DEBUG_LOCK_ALLOC) &&                    \
+       !defined(CONFIG_PAHOLE_HAS_ZEROSIZE_PERCPU_SUPPORT)
        /*
         * pahole 1.21 and earlier gets confused by zero-sized per-CPU
         * variables and produces invalid BTF. Ensure that