[PATCH] bugfix for one typo in drivers/mtd/nand/nand_base.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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;
       }

--- 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;
 	}

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux