Content-Type: multipart/mixed; boundary="===============8597329333243435148==" MIME-Version: 1.0 From: Marco Elver To: kbuild-all@lists.01.org Subject: [PATCH] kfence: fix typo in test Date: Wed, 16 Dec 2020 00:31:12 +0100 Message-ID: List-Id: --===============8597329333243435148== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Fix a typo/accidental copy-paste that resulted in the obviously incorrect 'GFP_KERNEL * 2' expression. Reported-by: kernel test robot Signed-off-by: Marco Elver --- mm/kfence/kfence_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/kfence/kfence_test.c b/mm/kfence/kfence_test.c index 1433a35a1644..f57c61c833e6 100644 --- a/mm/kfence/kfence_test.c +++ b/mm/kfence/kfence_test.c @@ -665,7 +665,7 @@ static void test_krealloc(struct kunit *test) for (; i < size * 3; i++) /* Fill to extra bytes. */ buf[i] =3D i + 1; = - buf =3D krealloc(buf, size * 2, GFP_KERNEL * 2); /* Shrink. */ + buf =3D krealloc(buf, size * 2, GFP_KERNEL); /* Shrink. */ KUNIT_EXPECT_GE(test, ksize(buf), size * 2); for (i =3D 0; i < size * 2; i++) KUNIT_EXPECT_EQ(test, buf[i], (char)(i + 1)); -- = 2.29.2.684.gfbc64c5ab5-goog --===============8597329333243435148==--