From: Andrew Morton Date: Wed, 2 Jun 2021 03:52:37 +0000 (+1000) Subject: mm-page_alloc-convert-per-cpu-list-protection-to-local_lock-fix-checkpatch-fixes X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=daa6f0724651926054853ff47c7e9da6b42888c8;p=users%2Fjedix%2Flinux-maple.git mm-page_alloc-convert-per-cpu-list-protection-to-local_lock-fix-checkpatch-fixes WARNING: Non-standard signature: Debugged-by: #77: Debugged-by: Andrii Nakryiko 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 Signed-off-by: Andrew Morton Signed-off-by: Stephen Rothwell --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 9dcb876a5603f..c64ee20c5ed14 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -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