linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: nand: do not initialise statics to 0 or NULL
@ 2018-03-24 10:17 Arushi Singhal
  2018-05-03  9:55 ` Boris Brezillon
  0 siblings, 1 reply; 2+ messages in thread
From: Arushi Singhal @ 2018-03-24 10:17 UTC (permalink / raw)
  To: boris.brezillon
  Cc: Richard Weinberger, David Woodhouse, Brian Norris, Marek Vasut,
	Cyrille Pitchen, linux-mtd, linux-kernel

This patch fixes the checkpatch.pl error to ams-delta.c.
ERROR: do not initialise statics to 0 or NULL

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
---
 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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mtd: nand: do not initialise statics to 0 or NULL
  2018-03-24 10:17 [PATCH] mtd: nand: do not initialise statics to 0 or NULL Arushi Singhal
@ 2018-05-03  9:55 ` Boris Brezillon
  0 siblings, 0 replies; 2+ messages in thread
From: Boris Brezillon @ 2018-05-03  9:55 UTC (permalink / raw)
  To: Arushi Singhal
  Cc: boris.brezillon, Richard Weinberger, linux-kernel, Marek Vasut,
	linux-mtd, Cyrille Pitchen, Brian Norris, David Woodhouse

Hi Arushi,

On Sat, 24 Mar 2018 15:47:27 +0530
Arushi Singhal <arushisinghal19971997@gmail.com> 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 <arushisinghal19971997@gmail.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-03  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-24 10:17 [PATCH] mtd: nand: do not initialise statics to 0 or NULL Arushi Singhal
2018-05-03  9:55 ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).