Hi Vlastimil, On Fri, 19 Mar 2021 19:01:28 +0100 Vlastimil Babka <vbabka@xxxxxxx> wrote: > > Andrew, please add this -fix > Thanks. > > ----8<---- > From f97312224278839321a5ff9be2b8487553a97c63 Mon Sep 17 00:00:00 2001 > From: Vlastimil Babka <vbabka@xxxxxxx> > Date: Fri, 19 Mar 2021 18:56:50 +0100 > Subject: [PATCH] selftests: add a kselftest for SLUB debugging > functionality-fix > > Remove a BUILD_BUG_ON left over from original resiliency_test() that breaks > builds. > > Reported-by: Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> > Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx> > --- > lib/test_slub.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/lib/test_slub.c b/lib/test_slub.c > index 0075d9b44251..b7ad6c0b07a6 100644 > --- a/lib/test_slub.c > +++ b/lib/test_slub.c > @@ -97,9 +97,6 @@ static void __init test_clobber_redzone_free(void) > > static void __init resiliency_test(void) > { > - > - BUILD_BUG_ON(KMALLOC_MIN_SIZE > 16 || KMALLOC_SHIFT_HIGH < 10); > - > pr_err("SLUB resiliency testing\n"); > pr_err("-----------------------\n"); > pr_err("A. Corruption after allocation\n"); > -- > 2.30.2 > Added to linux-next today. -- Cheers, Stephen Rothwell
Attachment:
pgpoKJlt43KSX.pgp
Description: OpenPGP digital signature