aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slub.c')
-rw-r--r--mm/slub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slub.c b/mm/slub.c
index d73f771d278f..b1cb2dfa109a 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -655,7 +655,7 @@ static int slab_pad_check(struct kmem_cache *s, struct page *page)
655 slab_err(s, page, "Padding overwritten. 0x%p-0x%p", fault, end - 1); 655 slab_err(s, page, "Padding overwritten. 0x%p-0x%p", fault, end - 1);
656 print_section("Padding", end - remainder, remainder); 656 print_section("Padding", end - remainder, remainder);
657 657
658 restore_bytes(s, "slab padding", POISON_INUSE, start, end); 658 restore_bytes(s, "slab padding", POISON_INUSE, end - remainder, end);
659 return 0; 659 return 0;
660} 660}
661 661