public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: liyu <liyu@ccoss.com.cn>
To: dwmw2@infradead.org
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] bugfix for one typo in drivers/mtd/nand/nand_base.c
Date: Fri, 14 Jul 2006 15:43:08 +0800	[thread overview]
Message-ID: <44B74B0C.1020001@ccoss.com.cn> (raw)

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

                 reply	other threads:[~2006-07-14  7:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44B74B0C.1020001@ccoss.com.cn \
    --to=liyu@ccoss.com.cn \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox