mtd: OneNAND: fix double printing of function name

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Nov 30 05:59:01 EST 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=f369c7ec94da63fc68cf7fa43516414888865c14
Commit:     f369c7ec94da63fc68cf7fa43516414888865c14
Parent:     72073027ee95d059eb5a064da4a978efab36d4ab
Author:     Mika Korhonen <ext-mika.2.korhonen at nokia.com>
AuthorDate: Fri Oct 23 07:50:44 2009 +0200
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Nov 30 09:43:54 2009 +0000

    mtd: OneNAND: fix double printing of function name
    
    Signed-off-by: Mika Korhonen <ext-mika.2.korhonen at nokia.com>
    Reviewed-by: Adrian Hunter <adrian.hunter at nokia.com>
    Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at nokia.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/onenand/onenand_base.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index 266f471..3330ea0 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -3698,8 +3698,8 @@ int flexonenand_set_boundary(struct mtd_info *mtd, int die,
 	this->command(mtd, ONENAND_CMD_ERASE, addr, 0);
 	ret = this->wait(mtd, FL_ERASING);
 	if (ret) {
-		printk(KERN_ERR "%s: flexonenand_set_boundary: "
-				"Failed PI erase for Die %d\n", __func__, die);
+		printk(KERN_ERR "%s: Failed PI erase for Die %d\n",
+		       __func__, die);
 		goto out;
 	}
 



More information about the linux-mtd-cvs mailing list