Skip to contentSkip to conversation

UBI: fix typo in a message

PATCH In review Artem Bityutskiy 2 participants 3 messages Apr 14, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 UBI: fix typo in a message

From: Artem Bityutskiy <[email protected]>

When a PEB passes the torture test, UBI prints
"do not mark it a bad", but should print "do not mark it sa bad". This patch corrects the typo.

---
 drivers/mtd/ubi/io.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/ubi/io.c +1 -1
index d58ceb1..8c1b1c7 100644
@@ -465,7 +465,7 @@ static int torture_peb(struct ubi_device *ubi, int pnum)
 	}
 
 	err = patt_count;
-	ubi_msg("PEB %d passed torture test, do not mark it a bad", pnum);
+	ubi_msg("PEB %d passed torture test, do not mark it as bad", pnum);
 
 out:
 	mutex_unlock(&ubi->buf_mutex);
Signature · 1 line
1.7.2.3
#1 lore raw

Artem:

Quoted 1 line

but should print "do not mark it sa bad".

Well, hopfully:

"do not mark it as bad".

                  ==
                       Atlant

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Artem Bityutskiy
Sent: Thursday, April 14, 2011 04:38
To: MTD list
Subject: [PATCH] UBI: fix typo in a message

From: Artem Bityutskiy <[email protected]>

When a PEB passes the torture test, UBI prints
"do not mark it a bad", but should print "do not mark it sa bad". This patch corrects the typo.

---
 drivers/mtd/ubi/io.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mtd/ubi/io.c +1 -1
index d58ceb1..8c1b1c7 100644
@@ -465,7 +465,7 @@ static int torture_peb(struct ubi_device *ubi, int pnum)
        }
 
        err = patt_count;
-       ubi_msg("PEB %d passed torture test, do not mark it a bad", pnum);
+       ubi_msg("PEB %d passed torture test, do not mark it as bad", pnum);
 
 out:
        mutex_unlock(&ubi->buf_mutex);

--
1.7.2.3

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.

#2 lore raw
Quoted 7 lines · Atlant Schmidt

Artem:

Quoted 1 line

but should print "do not mark it sa bad".

Well, hopfully:

"do not mark it as bad".

Hehe :-) I have bad luck with this phrase! I'll fix the commit message, thanks.

Signature · 2 lines
Best Regards,
Artem Bityutskiy (Артём Битюцкий)