All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] lib-test_bitmapc-add-for_each_set_clump-test-cases-checkpatch-fixes.patch removed from -mm tree
@ 2020-12-16  4:11 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2020-12-16  4:11 UTC (permalink / raw)
  To: akpm, mm-commits, syednwaris


The patch titled
     Subject: lib-test_bitmapc-add-for_each_set_clump-test-cases-checkpatch-fixes
has been removed from the -mm tree.  Its filename was
     lib-test_bitmapc-add-for_each_set_clump-test-cases-checkpatch-fixes.patch

This patch was dropped because it was folded into lib-test_bitmapc-add-for_each_set_clump-test-cases.patch

------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: lib-test_bitmapc-add-for_each_set_clump-test-cases-checkpatch-fixes

ERROR: that open brace { should be on the previous line
#151: FILE: lib/test_bitmap.c:648:
+static struct clump_test_data_params clump_test_data[] __initdata =
+				      { {{0}, 2, 0, 64, 8, clump_exp1},

ERROR: that open brace { should be on the previous line
#161: FILE: lib/test_bitmap.c:658:
+	for(i = 0; i < clump_test_data[index].count; i++)
+	{

ERROR: space required before the open parenthesis '('
#161: FILE: lib/test_bitmap.c:658:
+	for(i = 0; i < clump_test_data[index].count; i++)

ERROR: that open brace { should be on the previous line
#169: FILE: lib/test_bitmap.c:666:
+static void __init execute_for_each_set_clump_test(unsigned int index)
+{

WARNING: suspect code indent for conditional statements (8, 8)
#173: FILE: lib/test_bitmap.c:670:
+	for_each_set_clump(start, clump, clump_test_data[index].data,
[...]
+	expect_eq_clump(start, clump_test_data[index].limit, clump_test_data[index].exp,

ERROR: that open brace { should be on the previous line
#180: FILE: lib/test_bitmap.c:677:
+static void __init test_for_each_set_clump(void)
+{

total: 5 errors, 1 warnings, 174 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/lib-test_bitmapc-add-for_each_set_clump-test-cases.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: Syed Nayyar Waris <syednwaris@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 lib/test_bitmap.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/lib/test_bitmap.c~lib-test_bitmapc-add-for_each_set_clump-test-cases-checkpatch-fixes
+++ a/lib/test_bitmap.c
@@ -655,8 +655,7 @@ static void __init prepare_test_data(uns
 	int i;
 	unsigned long width = 0;
 
-	for(i = 0; i < clump_test_data[index].count; i++)
-	{
+	for (i = 0; i < clump_test_data[index].count; i++) {
 		bitmap_set_value(clump_test_data[index].data,
 			clump_bitmap_data[(clump_test_data[index].offset)++], width, 32);
 		width += 32;
_

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

lib-test_bitmapc-add-for_each_set_clump-test-cases.patch
checkpatch-fix-typo_spelling-check-for-words-with-apostrophe-fix.patch
resource-fix-kernel-doc-markups-checkpatch-fixes.patch
lib-ubsanc-mark-type_check_kinds-with-static-keyword-fix.patch
mm.patch
mm-fix-initialization-of-struct-page-for-holes-in-memory-layout-checkpatch-fixes.patch
mm-vmstat-fix-proc-sys-vm-stat_refresh-generating-false-warnings-fix-2.patch
linux-next-rejects.patch
kmap-stupid-hacks-to-make-it-compile.patch
epoll-wire-up-syscall-epoll_pwait2-fix.patch
set_memory-allow-set_direct_map__noflush-for-multiple-pages-fix.patch
arch-mm-wire-up-memfd_secret-system-call-were-relevant-fix.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-12-16  4:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-16  4:11 [folded-merged] lib-test_bitmapc-add-for_each_set_clump-test-cases-checkpatch-fixes.patch removed from -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.