aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortangjianqiang <[email protected]>2020-10-13 16:48:37 -0700
committerLinus Torvalds <[email protected]>2020-10-13 18:38:27 -0700
commitd7cff4ded857ff7cc3e49eb39cc14df9345b9662 (patch)
tree6391d4fc31c749876a99da06858f59f9e0e1d986 /include
parentc1ff3f95497e64b67230bddc1242f2d228880859 (diff)
include/linux/slab.h: fix a typo error in comment
fix a typo error in slab.h "allocagtor" -> "allocator" Signed-off-by: tangjianqiang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Acked-by: Souptick Joarder <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/linux/slab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/slab.h b/include/linux/slab.h
index 24df2393ec03..9e155cc83b8a 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -279,7 +279,7 @@ static inline void __check_heap_object(const void *ptr, unsigned long n,
#define KMALLOC_MAX_SIZE (1UL << KMALLOC_SHIFT_MAX)
/* Maximum size for which we actually use a slab cache */
#define KMALLOC_MAX_CACHE_SIZE (1UL << KMALLOC_SHIFT_HIGH)
-/* Maximum order allocatable via the slab allocagtor */
+/* Maximum order allocatable via the slab allocator */
#define KMALLOC_MAX_ORDER (KMALLOC_SHIFT_MAX - PAGE_SHIFT)
/*