[PATCH v2 0/5] bugfix, cleanup for mtdinfo

Brian Norris computersforpeace at gmail.com
Tue Aug 9 17:36:41 EDT 2011


This series includes v2 of a bugfix patch, as discussed in this thread:
  http://lists.infradead.org/pipermail/linux-mtd/2011-August/037386.html
and previously. Now, `mtdinfo --all' will not try to print out
region_info, since we need to supply a file path for use with ioctl. In
the future, if sysfs support is supplied for region_info, then we can
renew support in `mtdinfo --all'.

In addition to the bugfix, there are several other cleanups for mtdinfo.

Brian

Brian Norris (5):
  mtdinfo: don't open NULL pointer when getting region_info with `-a'
  mtdinfo: refactor code to remove "args.all" dependency
  mtdinfo: restructure help message
  mtdinfo: fixup "example usage" help section
  mtdinfo: consolidate help as display_help()

 ubi-utils/mtdinfo.c |   61 ++++++++++++++++++++++++++------------------------
 1 files changed, 32 insertions(+), 29 deletions(-)





More information about the linux-mtd mailing list