All of lore.kernel.org
 help / color / mirror / Atom feed
* + ilog2-improve-ilog2-for-constant-arguments-checkpatch-fixes.patch added to -mm tree
@ 2020-11-20 21:43 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2020-11-20 21:43 UTC (permalink / raw)
  To: akpm, mm-commits


The patch titled
     Subject: ilog2-improve-ilog2-for-constant-arguments-checkpatch-fixes
has been added to the -mm tree.  Its filename is
     ilog2-improve-ilog2-for-constant-arguments-checkpatch-fixes.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/ilog2-improve-ilog2-for-constant-arguments-checkpatch-fixes.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/ilog2-improve-ilog2-for-constant-arguments-checkpatch-fixes.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: ilog2-improve-ilog2-for-constant-arguments-checkpatch-fixes

WARNING: space prohibited between function name and open parenthesis '('
#39: FILE: include/linux/log2.h:160:
+	 63 - __builtin_clzll (n)) :	\

total: 0 errors, 1 warnings, 9 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/ilog2-improve-ilog2-for-constant-arguments.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


Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/log2.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/include/linux/log2.h~ilog2-improve-ilog2-for-constant-arguments-checkpatch-fixes
+++ a/include/linux/log2.h
@@ -157,7 +157,7 @@ unsigned long __rounddown_pow_of_two(uns
 ( \
 	__builtin_constant_p(n) ?	\
 	((n) < 2 ? 0 :			\
-	 63 - __builtin_clzll (n)) :	\
+	 63 - __builtin_clzll(n)) :	\
 	(sizeof(n) <= 4) ?		\
 	__ilog2_u32(n) :		\
 	__ilog2_u64(n)			\
_

Patches currently in -mm which might be from akpm@linux-foundation.org are

kthread_worker-document-cpu-hotplug-handling-fix.patch
mm.patch
mm-prevent-gup_fast-from-racing-with-cow-during-fork-checkpatch-fixes.patch
mm-swap_state-skip-meaningless-swap-cache-readahead-when-ra_infowin-==-0-fix.patch
mm-vmallocc-__vmalloc_area_node-avoid-32-bit-overflow.patch
mm-vmstat-fix-proc-sys-vm-stat_refresh-generating-false-warnings-fix-2.patch
lib-cmdline_kunit-add-a-new-test-suite-for-cmdline-api-fix.patch
ilog2-improve-ilog2-for-constant-arguments-checkpatch-fixes.patch
lib-test_bitmapc-add-for_each_set_clump-test-cases-checkpatch-fixes.patch
resource-fix-kernel-doc-markups-checkpatch-fixes.patch
linux-next-rejects.patch
linux-next-git-rejects.patch
kernel-forkc-export-kernel_thread-to-modules.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-20 21:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-20 21:43 + ilog2-improve-ilog2-for-constant-arguments-checkpatch-fixes.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.