public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bugfix for one typo in drivers/mtd/nand/nand_base.c
@ 2006-07-14  7:43 liyu
  0 siblings, 0 replies; only message in thread
From: liyu @ 2006-07-14  7:43 UTC (permalink / raw)
  To: dwmw2; +Cc: LKML

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

Hi:

    This is one patch that bugfix one typo in 
drivers/mtd/nand/nand_base.c. It seem we lost the
character 'x' here.
   
    This patch can apply on 2.6.18-rc1-git8 at least.

    Goodluck.

-liyu

--- nand_base.c.orig    2006-07-14 15:30:04.000000000 +0800
+++ nand_base.c 2006-07-14 15:30:46.000000000 +0800
@@ -2222,7 +2222,7 @@
        }
 
        /* Try to identify manufacturer */
-       for (maf_idx = 0; nand_manuf_ids[maf_idx].id != 0x0; maf_id++) {
+       for (maf_idx = 0; nand_manuf_ids[maf_idx].id != 0x0; maf_idx++) {
                if (nand_manuf_ids[maf_idx].id == *maf_id)
                        break;
        }


[-- Attachment #2: b.patch --]
[-- Type: text/x-patch, Size: 370 bytes --]

--- nand_base.c.orig	2006-07-14 15:30:04.000000000 +0800
+++ nand_base.c	2006-07-14 15:30:46.000000000 +0800
@@ -2222,7 +2222,7 @@
 	}
 
 	/* Try to identify manufacturer */
-	for (maf_idx = 0; nand_manuf_ids[maf_idx].id != 0x0; maf_id++) {
+	for (maf_idx = 0; nand_manuf_ids[maf_idx].id != 0x0; maf_idx++) {
 		if (nand_manuf_ids[maf_idx].id == *maf_id)
 			break;
 	}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-14  7:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-14  7:43 [PATCH] bugfix for one typo in drivers/mtd/nand/nand_base.c liyu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox