All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ubiformat: correct "non-ubifs" warning message
@ 2014-03-31 17:03 Brian Norris
  2014-04-07 10:45 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Norris @ 2014-03-31 17:03 UTC (permalink / raw)
  To: Artem Bityutskiy; +Cc: Brian Norris, linux-mtd

UBI's raw flash scan actually scans for UBI data, not UBIFS data (there
*are* UBI users that are not UBIFS!), so correct the warning message.
This also matches the comment in libscan.h.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
 ubi-utils/ubiformat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ubi-utils/ubiformat.c b/ubi-utils/ubiformat.c
index 97a4eaba2591..1b8f6fb108a2 100644
--- a/ubi-utils/ubiformat.c
+++ b/ubi-utils/ubiformat.c
@@ -834,7 +834,7 @@ int main(int argc, char * const argv[])
 
 	if (si->alien_cnt) {
 		if (!args.yes || !args.quiet)
-			warnmsg("%d of %d eraseblocks contain non-ubifs data",
+			warnmsg("%d of %d eraseblocks contain non-UBI data",
 				si->alien_cnt, si->good_cnt);
 		if (!args.yes && want_exit()) {
 			if (args.yes && !args.quiet)
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ubiformat: correct "non-ubifs" warning message
  2014-03-31 17:03 [PATCH] ubiformat: correct "non-ubifs" warning message Brian Norris
@ 2014-04-07 10:45 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2014-04-07 10:45 UTC (permalink / raw)
  To: Brian Norris; +Cc: linux-mtd

On Mon, 2014-03-31 at 10:03 -0700, Brian Norris wrote:
> UBI's raw flash scan actually scans for UBI data, not UBIFS data (there
> *are* UBI users that are not UBIFS!), so correct the warning message.
> This also matches the comment in libscan.h.
> 
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>

Pushed to mtd-utils, thanks!

-- 
Best Regards,
Artem Bityutskiy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-07 10:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-31 17:03 [PATCH] ubiformat: correct "non-ubifs" warning message Brian Norris
2014-04-07 10:45 ` Artem Bityutskiy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.