<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git/lib, 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>2010-11-29T14:57:35+00:00</updated>
<entry>
<title>libmtd: fix OOB size initialization in legacy code</title>
<updated>2010-11-29T14:57:35+00:00</updated>
<author>
<name>Ketil Froyn</name>
<email>ketil@froyn.name</email>
</author>
<published>2010-11-25T08:52:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=ae1cb618abbc591b7a63a09bc927f37968f889af'/>
<id>urn:sha1:ae1cb618abbc591b7a63a09bc927f37968f889af</id>
<content type='text'>
legacy_get_dev_info() forgot to set the OOB size

Signed-off-by: Ketil Froyn &lt;ketil@froyn.name&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>libmtd: make malloc failures fatal</title>
<updated>2010-10-02T14:19:44+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-10-01T17:13:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=b8bbd73bb5bd0b1f5f2c6a3441486d69a45cc79c'/>
<id>urn:sha1:b8bbd73bb5bd0b1f5f2c6a3441486d69a45cc79c</id>
<content type='text'>
This converts libmtd to the common xalloc helpers and in doing so, makes
memory allocation failures fatal rather than returning an error to the
caller.  I think this is acceptable behavior.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>sumtool/libfec: convert "()" to "(void)" in func defs</title>
<updated>2010-10-02T14:16:36+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-10-01T17:11:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=2e6f057227fb60465bd76876cf783ad56561930c'/>
<id>urn:sha1:2e6f057227fb60465bd76876cf783ad56561930c</id>
<content type='text'>
Since these functions take no parameters, declare them as such.  The
subtle difference here is that gcc allows (without warning) people to
accidentally call funcs declared with "()" with arguments.  Using void
makes sure that gcc will reject such typos at compile time.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>libmtd: unify some error messages</title>
<updated>2010-10-01T06:34:16+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-10-01T05:46:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=e2ddf154e1050faea5a24cf44345aec0d715a8c9'/>
<id>urn:sha1:e2ddf154e1050faea5a24cf44345aec0d715a8c9</id>
<content type='text'>
By using the same error message string, we only need one copy of it
in memory at runtime.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>libmtd: fix "fount" typo</title>
<updated>2010-10-01T06:31:32+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-10-01T05:40:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=87eed1bb81dfbb536568e4e993bb3df16595afe7'/>
<id>urn:sha1:87eed1bb81dfbb536568e4e993bb3df16595afe7</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>libmtd: add lock/unlock helpers</title>
<updated>2010-09-25T10:49:01+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-09-24T01:53:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=f03d42afb0fa7599b626fc0c005424edfd123f99'/>
<id>urn:sha1:f03d42afb0fa7599b626fc0c005424edfd123f99</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>libmtd: unify erase block argument checking</title>
<updated>2010-09-24T12:23:41+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-09-24T01:51:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=da3106bf16a7c065e2205297136c6c60b0562dc3'/>
<id>urn:sha1:da3106bf16a7c065e2205297136c6c60b0562dc3</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>libfec: fix up pointer warnings in fec magic computation</title>
<updated>2010-09-23T13:46:27+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-09-23T03:08:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=6358c55bacb813395a4612b9f3972bf41a3daed2'/>
<id>urn:sha1:6358c55bacb813395a4612b9f3972bf41a3daed2</id>
<content type='text'>
The current fec code casts a pointer to an int which causes warnings on
64bit systems.  So create a macro for the duplicate/complicated magic
computation, and add an unsigned long cast in it to fix the original
problem.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>lib: fix libcrc32 generation</title>
<updated>2010-09-01T11:35:19+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-09-01T11:32:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=3a6558e1e715c6a2742d046495d8b7b62afdbe68'/>
<id>urn:sha1:3a6558e1e715c6a2742d046495d8b7b62afdbe68</id>
<content type='text'>
libcrc32.a was generated without external symbols: nm -g libcrc32.a shoed
nothing. This patch fixes it to make libcrc32.a build to be the same as
libmtd.a. Frankly, I do not know why this happened and why this patch fixes
the issue, sorry for my ignorance. But this works.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>rename crc32 to mtd_crc32</title>
<updated>2010-09-01T11:31:52+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-09-01T11:10:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=8ab9e98ce27487c40289664d6cb1a58f963679cb'/>
<id>urn:sha1:8ab9e98ce27487c40289664d6cb1a58f963679cb</id>
<content type='text'>
Because of namespace collisions mkfs.ubifs uses crc32() implementation from
/lib/libz.so.1, which generates incompatible CRC and later on the kernel reports
many CRC errors.

Fix this by re-naming mtd-utils' crc32 function to mtd_crc32.

Reported-by: Jon Povey &lt;Jon.Povey@racelogic.co.uk&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
</feed>
