Skip to content

bugfix, cleanup for mtdinfo

Brian Norris linux-mtd 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 6 repliesIn review
  2. v11 patch 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mtdinfo: don't open NULL pointer when getting region_info with `-a'ubi-utils/mtdinfo.c+10 -21 reply
2/5mtdinfo: refactor code to remove "args.all" dependencyubi-utils/mtdinfo.c+3 -101 reply
3/5mtdinfo: restructure help messageubi-utils/mtdinfo.c+4 -21 reply
4/5mtdinfo: fixup "example usage" help sectionubi-utils/mtdinfo.c+4 -61 reply
5/5mtdinfo: consolidate help as display_help()ubi-utils/mtdinfo.c+19 -1712 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMike Frysinger
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)