<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git, branch v1.4.2</title>
<subtitle>A mirror of http://git.infradead.org/mtd-utils.git</subtitle>
<id>https://git.infraroot.at/mtd-utils.git/atom?h=v1.4.2</id>
<link rel='self' href='https://git.infraroot.at/mtd-utils.git/atom?h=v1.4.2'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/'/>
<updated>2011-01-16T18:50:47+00:00</updated>
<entry>
<title>mkfs.jffs2: fix repeated dev nodes</title>
<updated>2011-01-16T18:50:47+00:00</updated>
<author>
<name>Thomas Chou</name>
<email>thomas@wytron.com.tw</email>
</author>
<published>2010-12-31T01:45:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=70f86090720d7b5b8203ee43356f8c6f79219896'/>
<id>urn:sha1:70f86090720d7b5b8203ee43356f8c6f79219896</id>
<content type='text'>
Fix the repeated nodes with the same primary name in device_table.txt.
They were not generated correctly.

/dev/tty    c    666    0    0    5    0    0    0    -
/dev/tty    c    666    0    0    4    0    0    1    6

# IDE Devices
/dev/hda    b    640    0    0    3    0    0    0    -
/dev/hda    b    640    0    0    3    1    1    1    15
/dev/hdb    b    640    0    0    3    64    0    0    -
/dev/hdb    b    640    0    0    3    65    1    1    15

Only created,
/dev/tty
/dev/hda
/dev/hdb

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>mkfs.jffs2: fix devtable count as mkfs.ubifs does</title>
<updated>2011-01-16T18:50:38+00:00</updated>
<author>
<name>Thomas Chou</name>
<email>thomas@wytron.com.tw</email>
</author>
<published>2010-12-31T03:16:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=4d91ded71d78c5c651482f0e4ae082b73edba0c1'/>
<id>urn:sha1:4d91ded71d78c5c651482f0e4ae082b73edba0c1</id>
<content type='text'>
The counting was incorrect. Follow that of mkfs.ubifs.

Signed-off-by: Thomas Chou &lt;thomas@wytron.com.tw&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>nandwrite: use common.h "errmsg_die"</title>
<updated>2010-12-02T03:26:14+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2010-12-01T06:20:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=f0cc488fd772934bd41c6afdbee495f20d8516df'/>
<id>urn:sha1:f0cc488fd772934bd41c6afdbee495f20d8516df</id>
<content type='text'>
errmsg_die() should be nearly the equivalent of the error message used
here. This saves a few lines.

Also edited the error message to include the offending option and got
rid of the quotes.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>nandwrite: add check for negative blockalign</title>
<updated>2010-12-02T03:26:06+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2010-12-01T06:19:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=0d6504cadbe0ac4c898789cfc1ea1e303dbb5db0'/>
<id>urn:sha1:0d6504cadbe0ac4c898789cfc1ea1e303dbb5db0</id>
<content type='text'>
Includes error messages for negative blockalign, telling the user what
the offending option and value were.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>nanddump: choose correct "printf" format-specifier</title>
<updated>2010-12-02T03:25:57+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2010-11-29T08:02:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=ac6fdbad5dfc690b6a1ddf02d3005407aa1e4846'/>
<id>urn:sha1:ac6fdbad5dfc690b6a1ddf02d3005407aa1e4846</id>
<content type='text'>
The mtd-descriptor attributes contain signed data, not unsigned.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>nanddump: check for negative inputs</title>
<updated>2010-12-02T03:25:50+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2010-12-01T07:12:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=beb602b6a3d1cc7b2edaab517d94abebe5f4a445'/>
<id>urn:sha1:beb602b6a3d1cc7b2edaab517d94abebe5f4a445</id>
<content type='text'>
Includes error messages for negative device offsets and negative lengths,
telling the user what the offending option and value were.

Previous patch left out the "negative" in the error message.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>nanddump: change "unsigned" to "signed"</title>
<updated>2010-12-02T03:25:42+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2010-11-29T08:01:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=59b4ceaa65902ff2dcf13d12fb4ef97ea3ad8cec'/>
<id>urn:sha1:59b4ceaa65902ff2dcf13d12fb4ef97ea3ad8cec</id>
<content type='text'>
For consistency between nanddump and nandwrite and in order to provide
better means for checking for negative inputs, the "offset" and "length"
types in nanddump should be changed to signed integer types. This also
solves a signed/unsigned comparison warning.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>nanddump: Refactor pretty print code into an sprintf()</title>
<updated>2010-12-02T03:25:33+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2010-11-29T08:01:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=5a4d06c0fc94cf48d5bab3afa97b16c9022c4181'/>
<id>urn:sha1:5a4d06c0fc94cf48d5bab3afa97b16c9022c4181</id>
<content type='text'>
A do-while loop in pretty_dump_to_buffer() can be refactored into a
single sprintf() statement. MAX() and MIN() are used to ensure that:
(1) We have at least a single space between hex and ASCII output
(2) We don't overflow the line buffer

This patch was suggested by Mike Frysinger.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>common.h: Add MAX() macro, fix MIN()</title>
<updated>2010-12-02T03:25:23+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2010-11-29T08:01:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=3941e9fd08f1d03a52f6584b70077ff0ac866696'/>
<id>urn:sha1:3941e9fd08f1d03a52f6584b70077ff0ac866696</id>
<content type='text'>
Add MAX() macro to common.h, to be used in future patches.

Also a style change in comma location on MIN().

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>nanddump/nandwrite: use "simple_" str functions</title>
<updated>2010-12-02T03:25:05+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2010-11-29T08:01:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=340ccfc90f78e3fb762ce3da1ed5fbcd2e02a2bf'/>
<id>urn:sha1:340ccfc90f78e3fb762ce3da1ed5fbcd2e02a2bf</id>
<content type='text'>
Per Mike Frysinger's suggestion, we check for strtoll() and strtoull()
errors by using the "common.h" helper functions simple_strtoll() and
simple_strtoull().

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
</feed>
