All of lore.kernel.org
 help / color / mirror / Atom feed
From: Minchan Kim <minchan@kernel.org>
To: Matthias Kaehlcke <mka@chromium.org>
Cc: Nitin Gupta <ngupta@vflare.org>,
	Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	Doug Anderson <dianders@chromium.org>
Subject: Re: [PATCH] mm/zsmalloc: Change stat type parameter to int
Date: Tue, 1 Aug 2017 15:54:02 +0900	[thread overview]
Message-ID: <20170801065402.GC19932@bbox> (raw)
In-Reply-To: <20170731175000.56538-1-mka@chromium.org>

On Mon, Jul 31, 2017 at 10:50:00AM -0700, Matthias Kaehlcke wrote:
> zs_stat_inc/dec/get() uses enum zs_stat_type for the stat type, however
> some callers pass an enum fullness_group value. Change the type to int
> to reflect the actual use of the functions and get rid of
> 'enum-conversion' warnings

Maybe clang?
        
> 
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Anyway,

Acked-by: Minchan Kim <minchan@kernel.org>

Thanks!

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: Minchan Kim <minchan@kernel.org>
To: Matthias Kaehlcke <mka@chromium.org>
Cc: Nitin Gupta <ngupta@vflare.org>,
	Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org,
	Doug Anderson <dianders@chromium.org>
Subject: Re: [PATCH] mm/zsmalloc: Change stat type parameter to int
Date: Tue, 1 Aug 2017 15:54:02 +0900	[thread overview]
Message-ID: <20170801065402.GC19932@bbox> (raw)
In-Reply-To: <20170731175000.56538-1-mka@chromium.org>

On Mon, Jul 31, 2017 at 10:50:00AM -0700, Matthias Kaehlcke wrote:
> zs_stat_inc/dec/get() uses enum zs_stat_type for the stat type, however
> some callers pass an enum fullness_group value. Change the type to int
> to reflect the actual use of the functions and get rid of
> 'enum-conversion' warnings

Maybe clang?
        
> 
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Anyway,

Acked-by: Minchan Kim <minchan@kernel.org>

Thanks!

  reply	other threads:[~2017-08-01  6:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-31 17:50 [PATCH] mm/zsmalloc: Change stat type parameter to int Matthias Kaehlcke
2017-07-31 17:50 ` Matthias Kaehlcke
2017-08-01  6:54 ` Minchan Kim [this message]
2017-08-01  6:54   ` Minchan Kim
2017-08-01  7:30 ` Sergey Senozhatsky
2017-08-01  7:30   ` Sergey Senozhatsky
2017-08-23 23:31   ` Matthias Kaehlcke
2017-08-23 23:31     ` Matthias Kaehlcke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170801065402.GC19932@bbox \
    --to=minchan@kernel.org \
    --cc=dianders@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mka@chromium.org \
    --cc=ngupta@vflare.org \
    --cc=sergey.senozhatsky.work@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.