All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mm: fix the typo error
@ 2020-09-16  2:34 tangjianqiang
  2020-09-16  3:18 ` Souptick Joarder
  0 siblings, 1 reply; 3+ messages in thread
From: tangjianqiang @ 2020-09-16  2:34 UTC (permalink / raw)
  To: Christoph Lameter, Pekka Enberg, David Rientjes, Joonsoo Kim,
	Andrew Morton
  Cc: linux-mm, wyqt1985, tangjianqiang

fix the typo error in slab.h
"allocagtor" -> "allocator"

Signed-off-by: tangjianqiang <tangjianqiang@xiaomi.com>
---
 include/linux/slab.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/slab.h b/include/linux/slab.h
index 24df239..9e155cc 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)
 
 /*
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mm: fix the typo error
  2020-09-16  2:34 [PATCH] mm: fix the typo error tangjianqiang
@ 2020-09-16  3:18 ` Souptick Joarder
  2020-09-16  4:13   ` tangjianqiang
  0 siblings, 1 reply; 3+ messages in thread
From: Souptick Joarder @ 2020-09-16  3:18 UTC (permalink / raw)
  To: tangjianqiang
  Cc: Christoph Lameter, Pekka Enberg, David Rientjes, Joonsoo Kim,
	Andrew Morton, Linux-MM, wyqt1985, tangjianqiang

On Wed, Sep 16, 2020 at 8:05 AM tangjianqiang <wyqt1985@gmail.com> wrote:
>
> fix the typo error in slab.h
> "allocagtor" -> "allocator"

I think, subject line can be more specific. Something like -
"include/linux/slab.h: Fix the typo"

With that
Acked-by: Souptick Joarder <jrdr.linux@gmail.com

>
> Signed-off-by: tangjianqiang <tangjianqiang@xiaomi.com>
> ---
>  include/linux/slab.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/slab.h b/include/linux/slab.h
> index 24df239..9e155cc 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)
>
>  /*
> --
> 2.7.4
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mm: fix the typo error
  2020-09-16  3:18 ` Souptick Joarder
@ 2020-09-16  4:13   ` tangjianqiang
  0 siblings, 0 replies; 3+ messages in thread
From: tangjianqiang @ 2020-09-16  4:13 UTC (permalink / raw)
  To: Souptick Joarder
  Cc: Pekka Enberg, David Rientjes, Joonsoo Kim, Andrew Morton,
	linux-mm, tangjianqiang

sure, thanks for the comment.
I will modify and send patch v2

On Wed, Sep 16, 2020 at 08:48:14AM +0530, Souptick Joarder wrote:
> On Wed, Sep 16, 2020 at 8:05 AM tangjianqiang <wyqt1985@gmail.com> wrote:
> >
> > fix the typo error in slab.h
> > "allocagtor" -> "allocator"
> 
> I think, subject line can be more specific. Something like -
> "include/linux/slab.h: Fix the typo"
> 
> With that
> Acked-by: Souptick Joarder <jrdr.linux@gmail.com
> 
> >
> > Signed-off-by: tangjianqiang <tangjianqiang@xiaomi.com>
> > ---
> >  include/linux/slab.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/include/linux/slab.h b/include/linux/slab.h
> > index 24df239..9e155cc 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)
> >
> >  /*
> > --
> > 2.7.4
> >
> >


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-16  4:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16  2:34 [PATCH] mm: fix the typo error tangjianqiang
2020-09-16  3:18 ` Souptick Joarder
2020-09-16  4:13   ` tangjianqiang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.