Re: mm: fix typo of cache_alloc_zspage()

From: Sergey Senozhatsky
Date: Thu Dec 29 2016 - 01:52:21 EST


On (12/29/16 15:44), Minchan Kim wrote:
> On Thu, Dec 29, 2016 at 10:06:47AM +0800, Xishi Qiu wrote:
> > Signed-off-by: Xishi Qiu <qiuxishi@xxxxxxxxxx>
> > ---
> > mm/zsmalloc.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
> > index 9cc3c0b..2d6c92e 100644
> > --- a/mm/zsmalloc.c
> > +++ b/mm/zsmalloc.c
> > @@ -364,7 +364,7 @@ static struct zspage *cache_alloc_zspage(struct zs_pool *pool, gfp_t flags)
> > {
> > return kmem_cache_alloc(pool->zspage_cachep,
> > flags & ~(__GFP_HIGHMEM|__GFP_MOVABLE));
> > -};
> > +}
>
> Although it's trivial, we need descritpion.
> Please, could you resend to Andrew Morton with filling description?

I don't know... do we want to have it as a separate patch?
may be we can fold it into some other patch someday later.

-ss