From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751508AbeECJzd (ORCPT ); Thu, 3 May 2018 05:55:33 -0400 Received: from mail.bootlin.com ([62.4.15.54]:47795 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751390AbeECJza (ORCPT ); Thu, 3 May 2018 05:55:30 -0400 Date: Thu, 3 May 2018 11:55:27 +0200 From: Boris Brezillon To: Arushi Singhal Cc: boris.brezillon@free-electrons.com, Richard Weinberger , linux-kernel@vger.kernel.org, Marek Vasut , linux-mtd@lists.infradead.org, Cyrille Pitchen , Brian Norris , David Woodhouse Subject: Re: [PATCH] mtd: nand: do not initialise statics to 0 or NULL Message-ID: <20180503115527.35b2b2ae@bbrezillon> In-Reply-To: <20180324101727.GA748@seema-Inspiron-15-3567> References: <20180324101727.GA748@seema-Inspiron-15-3567> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arushi, On Sat, 24 Mar 2018 15:47:27 +0530 Arushi Singhal wrote: > This patch fixes the checkpatch.pl error to ams-delta.c. > ERROR: do not initialise statics to 0 or NULL Can you rebase on top of nand/next [1] and use "mtd: rawnand: ams-delta: " for the subject prefix? Thanks, Boris [1]http://git.infradead.org/linux-mtd.git/shortlog/refs/heads/nand/next > > Signed-off-by: Arushi Singhal > --- > drivers/mtd/nand/ams-delta.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/nand/ams-delta.c b/drivers/mtd/nand/ams-delta.c > index 6e7f6e0..8e89452 100644 > --- a/drivers/mtd/nand/ams-delta.c > +++ b/drivers/mtd/nand/ams-delta.c > @@ -35,7 +35,7 @@ > /* > * MTD structure for E3 (Delta) > */ > -static struct mtd_info *ams_delta_mtd = NULL; > +static struct mtd_info *ams_delta_mtd; > > /* > * Define partitions for flash devices