All of lore.kernel.org
 help / color / mirror / Atom feed
* + lib-math-rational-add-kunit-test-cases-fix.patch added to -mm tree
@ 2021-05-25 21:49 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2021-05-25 21:49 UTC (permalink / raw)
  To: akpm, andriy.shevchenko, dlatypov, mm-commits, oskar, tpiepho, yguoaz


The patch titled
     Subject: lib-math-rational-add-kunit-test-cases-fix
has been added to the -mm tree.  Its filename is
     lib-math-rational-add-kunit-test-cases-fix.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/lib-math-rational-add-kunit-test-cases-fix.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/lib-math-rational-add-kunit-test-cases-fix.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: lib-math-rational-add-kunit-test-cases-fix

remove non-ascii characters, fix whitespace

Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Daniel Latypov <dlatypov@google.com>
Cc: Oskar Schirmer <oskar@scara.com>
Cc: Trent Piepho <tpiepho@gmail.com>
Cc: Yiyuan Guo <yguoaz@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 lib/math/rational-test.c |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

--- a/lib/math/rational-test.c~lib-math-rational-add-kunit-test-cases-fix
+++ a/lib/math/rational-test.c
@@ -13,8 +13,8 @@ struct rational_test_param {
 };
 
 static const struct rational_test_param test_parameters[] = {
-	{ 1230,	10,	100, 20,	100, 1,    "Exceeds bounds, semi-convergent term > ½ last term" },
-	{ 34567,100, 	120, 20,	120, 1,    "Exceeds bounds, semi-convergent term < ½ last term" },
+	{ 1230,	10,	100, 20,	100, 1,    "Exceeds bounds, semi-convergent term > 1/2 last term" },
+	{ 34567,100, 	120, 20,	120, 1,    "Exceeds bounds, semi-convergent term < 1/2 last term" },
 	{ 1, 30,	100, 10,	0, 1,	   "Closest to zero" },
 	{ 1, 19,	100, 10,	1, 10,     "Closest to smallest non-zero" },
 	{ 27,32,	16, 16,		11, 13,    "Use convergent" },
@@ -42,13 +42,13 @@ static void rational_test(struct kunit *
 }
 
 static struct kunit_case rational_test_cases[] = {
-       KUNIT_CASE_PARAM(rational_test, rational_gen_params),
-       {}
+	KUNIT_CASE_PARAM(rational_test, rational_gen_params),
+	{}
 };
 
 static struct kunit_suite rational_test_suite = {
-       .name = "rational",
-       .test_cases = rational_test_cases,
+	.name = "rational",
+	.test_cases = rational_test_cases,
 };
 
 kunit_test_suites(&rational_test_suite);
_

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

mm.patch
mm-slub-kunit-add-a-kunit-test-for-slub-debugging-functionality-fix-2.patch
mm-gup-pack-has_pinned-in-mmf_has_pinned-checkpatch-fixes.patch
mm-memcg-optimize-user-context-object-stock-access-checkpatch-fixes.patch
mm-memcg-slab-create-a-new-set-of-kmalloc-cg-n-caches-v5-fix.patch
binfmt-remove-in-tree-usage-of-map_executable-fix.patch
mm-mmap-introduce-unlock_range-for-code-cleanup-fix.patch
powerpc-mm-book3s64-update-tlb-flush-routines-to-take-a-page-walk-cache-flush-argument-fix.patch
mm-mremap-use-range-flush-that-does-tlb-and-page-walk-cache-flush-fix.patch
mm-memory-failure-use-a-mutex-to-avoid-memory_failure-races-fix.patch
mm-memory_hotplug-disable-memmap_on_memory-when-hugetlb_free_vmemmap-enabled-fix.patch
mm-thp-check-total_mapcount-instead-of-page_mapcount-fix-fix.patch
nommu-remove-__gfp_highmem-in-vmalloc-vzalloc-checkpatch-fixes.patch
mm-madvise-introduce-madv_populate_readwrite-to-prefault-page-tables-checkpatch-fixes.patch
kernelh-split-out-panic-and-oops-helpers-fix.patch
lib-math-rational-add-kunit-test-cases-fix.patch
lib-decompressors-remove-set-but-not-used-variabled-level-fix.patch
linux-next-pre.patch
linux-next-post.patch
mm-introduce-memfd_secret-system-call-to-create-secret-memory-areas-fix.patch
module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix.patch
module-add-printk-formats-to-add-module-build-id-to-stacktraces-fix-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:[~2021-05-25 21:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 21:49 + lib-math-rational-add-kunit-test-cases-fix.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.