* + kfence-add-test-suite-fix.patch added to -mm tree
@ 2020-12-18 18:46 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-12-18 18:46 UTC (permalink / raw)
To: mm-commits, lkp, glider, elver
The patch titled
Subject: kfence: fix typo in test
has been added to the -mm tree. Its filename is
kfence-add-test-suite-fix.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/kfence-add-test-suite-fix.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/kfence-add-test-suite-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: Marco Elver <elver@google.com>
Subject: kfence: fix typo in test
Fix a typo/accidental copy-paste that resulted in the obviously
incorrect 'GFP_KERNEL * 2' expression.
Link: https://lkml.kernel.org/r/X9lHQExmHGvETxY4@elver.google.com
Signed-off-by: Marco Elver <elver@google.com>
Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/kfence/kfence_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/mm/kfence/kfence_test.c~kfence-add-test-suite-fix
+++ a/mm/kfence/kfence_test.c
@@ -665,7 +665,7 @@ static void test_krealloc(struct kunit *
for (; i < size * 3; i++) /* Fill to extra bytes. */
buf[i] = i + 1;
- buf = krealloc(buf, size * 2, GFP_KERNEL * 2); /* Shrink. */
+ buf = krealloc(buf, size * 2, GFP_KERNEL); /* Shrink. */
KUNIT_EXPECT_GE(test, ksize(buf), size * 2);
for (i = 0; i < size * 2; i++)
KUNIT_EXPECT_EQ(test, buf[i], (char)(i + 1));
_
Patches currently in -mm which might be from elver@google.com are
mm-add-kernel-electric-fence-infrastructure-fix.patch
mm-add-kernel-electric-fence-infrastructure-fix-2.patch
arm64-kfence-enable-kfence-for-arm64.patch
kfence-use-pt_regs-to-generate-stack-trace-on-faults.patch
kfence-documentation-add-kfence-documentation.patch
kfence-add-test-suite.patch
kfence-add-test-suite-fix.patch
maintainers-add-entry-for-kfence.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-18 18:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-18 18:46 + kfence-add-test-suite-fix.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).