Fix common misspellings
[linux-2.6.git] / drivers / mtd / onenand / onenand_sim.c
index 8b24606..5ef3bd5 100644 (file)
@@ -321,7 +321,7 @@ static void onenand_data_handle(struct onenand_chip *this, int cmd,
                                continue;
                        if (memcmp(dest + off, ffchars, this->subpagesize) &&
                            onenand_check_overwrite(dest + off, src + off, this->subpagesize))
-                               printk(KERN_ERR "over-write happend at 0x%08x\n", offset);
+                               printk(KERN_ERR "over-write happened at 0x%08x\n", offset);
                        memcpy(dest + off, src + off, this->subpagesize);
                }
                /* Fall through */
@@ -335,7 +335,7 @@ static void onenand_data_handle(struct onenand_chip *this, int cmd,
                dest = ONENAND_CORE_SPARE(flash, this, offset);
                if (memcmp(dest, ffchars, mtd->oobsize) &&
                    onenand_check_overwrite(dest, src, mtd->oobsize))
-                       printk(KERN_ERR "OOB: over-write happend at 0x%08x\n",
+                       printk(KERN_ERR "OOB: over-write happened at 0x%08x\n",
                               offset);
                memcpy(dest, src, mtd->oobsize);
                break;