[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230326232625.GC19631@lst.de>
Date: Mon, 27 Mar 2023 01:26:25 +0200
From: Christoph Hellwig <hch@....de>
To: Liu Shixin <liushixin2@...wei.com>
Cc: Seth Jennings <sjenning@...hat.com>,
Dan Streetman <ddstreet@...e.org>,
Vitaly Wool <vitaly.wool@...sulko.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Nathan Chancellor <nathan@...nel.org>,
Christoph Hellwig <hch@....de>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org
Subject: Re: [PATCH -next v7 3/4] mm/zswap: replace
zswap_init_{started/failed} with zswap_init_state
On Sat, Mar 25, 2023 at 03:14:19PM +0800, Liu Shixin wrote:
> -/* used by param callback function */
> -static bool zswap_init_started;
> +#define ZSWAP_UNINIT 0x0
> +#define ZSWAP_INIT_SUCCEED 0x1
> +#define ZSWAP_INIT_FAILED 0x2
This should be a (named) enum.
Powered by blists - more mailing lists