<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mtd/ubi/scan.c, branch linux-2.6.27.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-07-24T10:36:09Z</updated>
<entry>
<title>UBI: remove pre-sqnum images support</title>
<updated>2008-07-24T10:36:09Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-07-18T10:53:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9869cd801c107bbae91663c3f4edbb6b5715919f'/>
<id>urn:sha1:9869cd801c107bbae91663c3f4edbb6b5715919f</id>
<content type='text'>
Before UBI got into mainline, there was a slight flash format
change - we did not have sequence number support, then added it.

We have carried full support of those ancient images till this
moment. Now the support is removed, well, not fully removed.

Now UBI will support only _clean_ old images, which were cleanly
detached last time (just before kernel upgrade). This is most
likely the case.

But we will not support unclean ancient images. Surprisingly,
this allows us to remove a big chunk of legacy code.

And the same should be true for downgrading: clean images should
downgrade fine, but unclean ones will not.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: fix kernel-doc errors and warnings</title>
<updated>2008-07-24T10:36:09Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-07-18T10:34:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ebaaf1af3e9ef05c4fb7c61e4530c15e1ad10e3b'/>
<id>urn:sha1:ebaaf1af3e9ef05c4fb7c61e4530c15e1ad10e3b</id>
<content type='text'>
No functional changes, just tweak comments to make kernel-doc
work fine and stop complaining.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: fix checkpatch.pl errors and warnings</title>
<updated>2008-07-24T10:36:09Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-07-18T10:19:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c9ec147709e63e4e8ac6a037c6bb50688ff8e9c'/>
<id>urn:sha1:9c9ec147709e63e4e8ac6a037c6bb50688ff8e9c</id>
<content type='text'>
Just out or curiousity ran checkpatch.pl for whole UBI,
and discovered there are quite a few of stylistic issues.
Fix them.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: fix and re-work debugging stuff</title>
<updated>2008-07-24T10:34:45Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-07-16T14:40:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8566350a3229ca505b84313c65d1403b4d0cbfc'/>
<id>urn:sha1:c8566350a3229ca505b84313c65d1403b4d0cbfc</id>
<content type='text'>
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: amend commentaries</title>
<updated>2008-07-24T10:32:56Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-07-16T07:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=85c6e6e28259e9b58b8984db536c45bc3161f40c'/>
<id>urn:sha1:85c6e6e28259e9b58b8984db536c45bc3161f40c</id>
<content type='text'>
Hch asked not to use "unit" for sub-systems, let it be so.
Also some other commentaries modifications.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: fix mean EC calculation</title>
<updated>2008-04-19T17:49:41Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-04-19T17:44:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4bc1dca4b0eb4dfbf100895bfc1256f21e3c901a'/>
<id>urn:sha1:4bc1dca4b0eb4dfbf100895bfc1256f21e3c901a</id>
<content type='text'>
(a + b) / (c + d) != a / c + b / d. The old code errornously
assumed this incorrect formuld. Instead, just sum all erase
counters in a 64-bit variable and divide to the number of EBs
at the end.

Thanks to Adrian Hunter for pointing this out.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: add layout volume information</title>
<updated>2008-01-25T14:41:25Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-01-24T09:23:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=91f2d53cd75a8fa3557246af965155208c4c69a7'/>
<id>urn:sha1:91f2d53cd75a8fa3557246af965155208c4c69a7</id>
<content type='text'>
Add more information about layout volume to make userspace tools
use the macros instead of constants. Also rename UBI_LAYOUT_VOL_ID
to make it consistent with other macros.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: fix warnings</title>
<updated>2008-01-25T14:41:25Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-01-24T09:19:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c18a84186cc05bee19d55823f1a35f4ea91a92d6'/>
<id>urn:sha1:c18a84186cc05bee19d55823f1a35f4ea91a92d6</id>
<content type='text'>
Old gcc complains:

CC      drivers/mtd/ubi/wl.o
drivers/mtd/ubi/wl.c: In function 'wear_leveling_worker':
drivers/mtd/ubi/wl.c:746: warning: 'pe' may be used uninitialized in this function
CC      drivers/mtd/ubi/scan.o
drivers/mtd/ubi/scan.c: In function 'ubi_scan':
drivers/mtd/ubi/scan.c:772: warning: 'ec' may be used uninitialized in this function
drivers/mtd/ubi/scan.c:772: note: 'ec' was declared here

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: add sanity check</title>
<updated>2008-01-25T14:41:25Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-01-22T10:38:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64203195edf44601d9825284101dcaf7ad54ece8'/>
<id>urn:sha1:64203195edf44601d9825284101dcaf7ad54ece8</id>
<content type='text'>
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
<entry>
<title>UBI: remove bogus assertion</title>
<updated>2008-01-25T14:41:25Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2008-01-22T10:31:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f9270e7fe86591d6ba01c0df6ad3f6c035687ea'/>
<id>urn:sha1:2f9270e7fe86591d6ba01c0df6ad3f6c035687ea</id>
<content type='text'>
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
</entry>
</feed>
