Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S979576AbdDYBJg (ORCPT ); Mon, 24 Apr 2017 21:09:36 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34221 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S979529AbdDYBJe (ORCPT ); Mon, 24 Apr 2017 21:09:34 -0400 Date: Mon, 24 Apr 2017 18:09:30 -0700 From: Brian Norris To: Boris Brezillon Cc: Richard Weinberger , linux-mtd@lists.infradead.org, Nicolas Ferre , Alexandre Belloni , Haavard Skinnemoen , Hans-Christian Egtvedt , linux-kernel@vger.kernel.org, Wenyou Yang , Josh Wu , David Woodhouse , Marek Vasut , Cyrille Pitchen , linux-arm-kernel@lists.infradead.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, Masahiro Yamada , Andy Shevchenko Subject: Re: [PATCH v3 1/3] mtd: nand: Cleanup/rework the atmel_nand driver Message-ID: <20170425010930.GA120971@google.com> References: <1489651362-17077-1-git-send-email-boris.brezillon@free-electrons.com> <1489651362-17077-2-git-send-email-boris.brezillon@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1489651362-17077-2-git-send-email-boris.brezillon@free-electrons.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: 706 Lines: 28 On Thu, Mar 16, 2017 at 09:02:40AM +0100, Boris Brezillon wrote: > diff --git a/drivers/mtd/nand/atmel/nand-controller.c b/drivers/mtd/nand/atmel/nand-controller.c > new file mode 100644 > index 000000000000..f71b9e5d7d9d > --- /dev/null > +++ b/drivers/mtd/nand/atmel/nand-controller.c > @@ -0,0 +1,2198 @@ [...] > +static int > +atmel_hsmc_nand_controller_legacy_init(struct atmel_hsmc_nand_controller *nc) > +{ > + struct regmap_config regmap_conf = { > + .reg_bits = 32, > + .val_bits = 32, > + .reg_stride = 4, > + .val_bits = 32, You assigned val_bits twice. Is that just a harmless mistake, or did you mean to set something else? (sparse and other tools complain about this) > + }; Brian