* [PATCH v2 00/10] more mtd-utils cleanup
@ 2011-06-28 0:00 Brian Norris
2011-06-28 0:00 ` [PATCH v2 06/10] mtd-utils: add common version printing function Brian Norris
2011-06-28 0:10 ` [PATCH v2 00/10] more mtd-utils cleanup Mike Frysinger
0 siblings, 2 replies; 3+ messages in thread
From: Brian Norris @ 2011-06-28 0:00 UTC (permalink / raw)
To: Artem Bityutskiy; +Cc: Brian Norris, linux-mtd, Mike Frysinger
This series fixes several mtd-utils issues and takes care of a few things
on the feature-removal schedule.
v2: addressed comments about common_version_print() (patch 6)
I'm only bothering to send patch 6, since the other 9 should be identical.
I'll resend if you want...
Thanks,
Brian
Brian Norris (10):
mtd-tests: checkfs: fix size_t related warning
mtd-tests: io_paral: build error, "variable length strings"
mtd-utils: remove whitespace at end of lines
mtd-utils: update .gitignore files
mkfs.ubifs: use common.h
mtd-utils: add common version printing function
mtd-utils: switch more utils to unified versioning
mtd-utils: kill flash_info
mtdinfo: kill -m option
nanddump: remove unused variable
.gitignore | 5 ++
Makefile | 2 +-
device_table.txt | 6 +-
feature-removal-schedule.txt | 14 ------
flash_info.c | 67 ------------------------------
include/common.h | 6 +++
include/linux/jffs2.h | 2 +-
jffs2dump.c | 2 +-
lib/libfec.c | 14 +++---
mcast_image.h | 4 +-
mkfs.jffs2.1 | 6 +-
mkfs.jffs2.c | 6 +-
mkfs.ubifs/hashtable/hashtable.c | 14 +++---
mkfs.ubifs/hashtable/hashtable.h | 30 +++++++-------
mkfs.ubifs/hashtable/hashtable_itr.c | 12 +++---
mkfs.ubifs/hashtable/hashtable_itr.h | 12 +++---
mkfs.ubifs/hashtable/hashtable_private.h | 12 +++---
mkfs.ubifs/mkfs.ubifs.c | 12 ++----
nanddump.c | 3 +-
nandtest.c | 16 ++++----
rbtree.c | 6 +-
rbtree.h | 4 +-
recv_image.c | 24 +++++-----
serve_image.c | 30 +++++++-------
tests/checkfs/.gitignore | 2 +
tests/checkfs/README | 26 ++++++------
tests/checkfs/checkfs.c | 2 +-
tests/fs-tests/integrity/.gitignore | 1 +
tests/fs-tests/simple/.gitignore | 5 ++
tests/fs-tests/stress/atoms/.gitignore | 10 ++++
tests/fs-tests/utils/.gitignore | 2 +
tests/jittertest/.gitignore | 2 +
tests/jittertest/README | 18 ++++----
tests/jittertest/filljffs2.sh | 2 +-
tests/ubi-tests/io_paral.c | 2 +-
ubi-utils/dictionary.c | 6 +-
ubi-utils/libiniparser.c | 8 ++--
ubi-utils/mtdinfo.c | 30 ++++----------
ubi-utils/ubiattach.c | 5 +-
ubi-utils/ubicrc32.c | 5 +-
ubi-utils/ubidetach.c | 5 +-
ubi-utils/ubiformat.c | 5 +-
ubi-utils/ubimkvol.c | 5 +-
ubi-utils/ubinfo.c | 5 +-
ubi-utils/ubinize.c | 5 +-
ubi-utils/ubirename.c | 1 -
ubi-utils/ubirmvol.c | 5 +-
ubi-utils/ubirsvol.c | 5 +-
ubi-utils/ubiupdatevol.c | 5 +-
49 files changed, 199 insertions(+), 277 deletions(-)
delete mode 100644 flash_info.c
create mode 100644 tests/checkfs/.gitignore
create mode 100644 tests/fs-tests/integrity/.gitignore
create mode 100644 tests/fs-tests/simple/.gitignore
create mode 100644 tests/fs-tests/stress/atoms/.gitignore
create mode 100644 tests/fs-tests/utils/.gitignore
create mode 100644 tests/jittertest/.gitignore
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2 06/10] mtd-utils: add common version printing function
2011-06-28 0:00 [PATCH v2 00/10] more mtd-utils cleanup Brian Norris
@ 2011-06-28 0:00 ` Brian Norris
2011-06-28 0:10 ` [PATCH v2 00/10] more mtd-utils cleanup Mike Frysinger
1 sibling, 0 replies; 3+ messages in thread
From: Brian Norris @ 2011-06-28 0:00 UTC (permalink / raw)
To: Artem Bityutskiy; +Cc: Brian Norris, linux-mtd, Mike Frysinger
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
include/common.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/common.h b/include/common.h
index 65ec086..88b67e5 100644
--- a/include/common.h
+++ b/include/common.h
@@ -129,6 +129,12 @@ simple_strtoX(strtoll, long long int)
simple_strtoX(strtoul, unsigned long int)
simple_strtoX(strtoull, unsigned long long int)
+/* Simple version-printing for utils */
+#define common_print_version() \
+do { \
+ printf("%s %s\n", PROGRAM_NAME, VERSION); \
+} while (0)
+
#include "xalloc.h"
#ifdef __cplusplus
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 00/10] more mtd-utils cleanup
2011-06-28 0:00 [PATCH v2 00/10] more mtd-utils cleanup Brian Norris
2011-06-28 0:00 ` [PATCH v2 06/10] mtd-utils: add common version printing function Brian Norris
@ 2011-06-28 0:10 ` Mike Frysinger
1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2011-06-28 0:10 UTC (permalink / raw)
To: Brian Norris; +Cc: linux-mtd, Artem Bityutskiy
On Mon, Jun 27, 2011 at 20:00, Brian Norris wrote:
> This series fixes several mtd-utils issues and takes care of a few things
> on the feature-removal schedule.
>
> v2: addressed comments about common_version_print() (patch 6)
>
> I'm only bothering to send patch 6, since the other 9 should be identical.
> I'll resend if you want...
i dont think that's necessary
-mike
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-28 0:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-28 0:00 [PATCH v2 00/10] more mtd-utils cleanup Brian Norris
2011-06-28 0:00 ` [PATCH v2 06/10] mtd-utils: add common version printing function Brian Norris
2011-06-28 0:10 ` [PATCH v2 00/10] more mtd-utils cleanup Mike Frysinger
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.