linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd: nand: fix for printing NAND model
@ 2010-12-30  8:30 Ralf Rösch
  2010-12-30  8:52 ` Florian Fainelli
  0 siblings, 1 reply; 2+ messages in thread
From: Ralf Rösch @ 2010-12-30  8:30 UTC (permalink / raw)
  To: linux-mtd

Signed-off-by: Ralf Roesch <ralf.roesch@rw-gmbh.de>
---
 drivers/mtd/nand/nand_base.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 1f75a1b..f29183a 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -3157,7 +3157,7 @@ ident_done:
 	printk(KERN_INFO "NAND device: Manufacturer ID:"
 		" 0x%02x, Chip ID: 0x%02x (%s %s)\n", *maf_id, *dev_id,
 		nand_manuf_ids[maf_idx].name,
-	chip->onfi_version ? type->name : chip->onfi_params.model);
+	chip->onfi_version ? chip->onfi_params.model : type->name);
  	return type;
 }
-- 
1.7.2.3

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

* Re: [PATCH] mtd: nand: fix for printing NAND model
  2010-12-30  8:30 [PATCH] mtd: nand: fix for printing NAND model Ralf Rösch
@ 2010-12-30  8:52 ` Florian Fainelli
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Fainelli @ 2010-12-30  8:52 UTC (permalink / raw)
  To: linux-mtd; +Cc: Ralf Rösch

Hello,

On Thursday 30 December 2010 09:30:48 Ralf Rösch wrote:
> Signed-off-by: Ralf Roesch <ralf.roesch@rw-gmbh.de>
> ---
>  drivers/mtd/nand/nand_base.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
> index 1f75a1b..f29183a 100644
> --- a/drivers/mtd/nand/nand_base.c
> +++ b/drivers/mtd/nand/nand_base.c
> @@ -3157,7 +3157,7 @@ ident_done:
>  	printk(KERN_INFO "NAND device: Manufacturer ID:"
>  		" 0x%02x, Chip ID: 0x%02x (%s %s)\n", *maf_id, *dev_id,
>  		nand_manuf_ids[maf_idx].name,
> -	chip->onfi_version ? type->name : chip->onfi_params.model);
> +	chip->onfi_version ? chip->onfi_params.model : type->name);
>   	return type;
>  }

The same fix has already been submitted and applied a couple of days ago: 
http://patchwork.ozlabs.org/patch/75222/
--
Florian

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

end of thread, other threads:[~2010-12-30  8:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-30  8:30 [PATCH] mtd: nand: fix for printing NAND model Ralf Rösch
2010-12-30  8:52 ` Florian Fainelli

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).