Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939211AbdDSUOX (ORCPT ); Wed, 19 Apr 2017 16:14:23 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:35203 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765013AbdDSUOT (ORCPT ); Wed, 19 Apr 2017 16:14:19 -0400 Date: Wed, 19 Apr 2017 13:14:16 -0700 From: Brian Norris To: Geliang Tang Cc: David Woodhouse , Boris Brezillon , Marek Vasut , Richard Weinberger , Cyrille Pitchen , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mtd: mtdswap: use MTDSWAP_ECNT_MIN/MAX Message-ID: <20170419201416.GE20555@google.com> References: <254e9f859fdb1f850c1d3bd5777e97bf468b4e5a.1482225376.git.geliangtang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <254e9f859fdb1f850c1d3bd5777e97bf468b4e5a.1482225376.git.geliangtang@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 266 Lines: 7 On Tue, Dec 20, 2016 at 09:54:33PM +0800, Geliang Tang wrote: > Since macros MTDSWAP_ECNT_MIN() and MTDSWAP_ECNT_MAX() have been > defined in mtdswap.c, use them instead of open-coding. > > Signed-off-by: Geliang Tang Applied to l2-mtd.git