<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/mtd/ubi, branch linux-2.6.36.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>UBI: do not oops when erroneous PEB is scheduled for scrubbing</title>
<updated>2010-08-30T10:32:31+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-08-29T20:34:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=d3f6e6c666c0f68991d785177c4c62fcd1d651f2'/>
<id>d3f6e6c666c0f68991d785177c4c62fcd1d651f2</id>
<content type='text'>
When an erroneous PEB is scheduling for scrubbing, we end up with the
following oops:

[&lt;c0162404&gt;] (prot_queue_del+0x0/0x50) from [&lt;c01635b4&gt;] (ubi_wl_scrub_peb+0xec/0x13c)
[&lt;c01634c8&gt;] (ubi_wl_scrub_peb+0x0/0x13c) from [&lt;c01603bc&gt;] (ubi_eba_read_leb+0x200/0x428)
[&lt;c01601bc&gt;] (ubi_eba_read_leb+0x0/0x428) from [&lt;c015e3c0&gt;] (ubi_leb_read+0xe8/0x138)
[&lt;c015e2d8&gt;] (ubi_leb_read+0x0/0x138) from [&lt;c00d6918&gt;] (ubifs_start_scan+0x7c/0xf4)
[&lt;c00d689c&gt;] (ubifs_start_scan+0x0/0xf4) from [&lt;c00e3650&gt;] (ubifs_recover_leb+0x3c/0x730)
[&lt;c00e3614&gt;] (ubifs_recover_leb+0x0/0x730) from [&lt;c00e444c&gt;] (ubifs_recover_log_leb+0xc8/0x2dc)
[&lt;c00e4384&gt;] (ubifs_recover_log_leb+0x0/0x2dc) from [&lt;c00d7c20&gt;] (ubifs_replay_journal+0xb90/0x13a4)
[&lt;c00d7090&gt;] (ubifs_replay_journal+0x0/0x13a4) from [&lt;c00cdd68&gt;] (ubifs_fill_super+0xb84/0x1054)
[&lt;c00cd1e4&gt;] (ubifs_fill_super+0x0/0x1054) from [&lt;c00ced04&gt;] (ubifs_get_sb+0xc4/0x2ac)
[&lt;c00cec40&gt;] (ubifs_get_sb+0x0/0x2ac) from [&lt;c007f04c&gt;] (vfs_kern_mount+0x58/0x94)
[&lt;c007eff4&gt;] (vfs_kern_mount+0x0/0x94) from [&lt;c007f0e8&gt;] (do_kern_mount+0x40/0xe8)
[&lt;c007f0a8&gt;] (do_kern_mount+0x0/0xe8) from [&lt;c0095628&gt;] (do_new_mount+0x68/0x8c)
[&lt;c00955c0&gt;] (do_new_mount+0x0/0x8c) from [&lt;c00957a8&gt;] (do_mount+0x15c/0x1b8)
[&lt;c009564c&gt;] (do_mount+0x0/0x1b8) from [&lt;c0095890&gt;] (sys_mount+0x8c/0xd4)
[&lt;c0095804&gt;] (sys_mount+0x0/0xd4) from [&lt;c0023c00&gt;] (ret_fast_syscall+0x0/0x2c)
Kernel panic - not syncing: Fatal exception

The problem is that 'ubi_wl_scrub_peb()' does not expect that PEBs may
be in the erroneous tree, which is a bug. This patch fixes the bug
and adds corresponding check to 'ubi_wl_scrub_peb()'. Now it will simply
ignore erroneous PEBs, instead of causing an oops.

Reported-by: Matthieu CASTET &lt;matthieu.castet@parrot.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an erroneous PEB is scheduling for scrubbing, we end up with the
following oops:

[&lt;c0162404&gt;] (prot_queue_del+0x0/0x50) from [&lt;c01635b4&gt;] (ubi_wl_scrub_peb+0xec/0x13c)
[&lt;c01634c8&gt;] (ubi_wl_scrub_peb+0x0/0x13c) from [&lt;c01603bc&gt;] (ubi_eba_read_leb+0x200/0x428)
[&lt;c01601bc&gt;] (ubi_eba_read_leb+0x0/0x428) from [&lt;c015e3c0&gt;] (ubi_leb_read+0xe8/0x138)
[&lt;c015e2d8&gt;] (ubi_leb_read+0x0/0x138) from [&lt;c00d6918&gt;] (ubifs_start_scan+0x7c/0xf4)
[&lt;c00d689c&gt;] (ubifs_start_scan+0x0/0xf4) from [&lt;c00e3650&gt;] (ubifs_recover_leb+0x3c/0x730)
[&lt;c00e3614&gt;] (ubifs_recover_leb+0x0/0x730) from [&lt;c00e444c&gt;] (ubifs_recover_log_leb+0xc8/0x2dc)
[&lt;c00e4384&gt;] (ubifs_recover_log_leb+0x0/0x2dc) from [&lt;c00d7c20&gt;] (ubifs_replay_journal+0xb90/0x13a4)
[&lt;c00d7090&gt;] (ubifs_replay_journal+0x0/0x13a4) from [&lt;c00cdd68&gt;] (ubifs_fill_super+0xb84/0x1054)
[&lt;c00cd1e4&gt;] (ubifs_fill_super+0x0/0x1054) from [&lt;c00ced04&gt;] (ubifs_get_sb+0xc4/0x2ac)
[&lt;c00cec40&gt;] (ubifs_get_sb+0x0/0x2ac) from [&lt;c007f04c&gt;] (vfs_kern_mount+0x58/0x94)
[&lt;c007eff4&gt;] (vfs_kern_mount+0x0/0x94) from [&lt;c007f0e8&gt;] (do_kern_mount+0x40/0xe8)
[&lt;c007f0a8&gt;] (do_kern_mount+0x0/0xe8) from [&lt;c0095628&gt;] (do_new_mount+0x68/0x8c)
[&lt;c00955c0&gt;] (do_new_mount+0x0/0x8c) from [&lt;c00957a8&gt;] (do_mount+0x15c/0x1b8)
[&lt;c009564c&gt;] (do_mount+0x0/0x1b8) from [&lt;c0095890&gt;] (sys_mount+0x8c/0xd4)
[&lt;c0095804&gt;] (sys_mount+0x0/0xd4) from [&lt;c0023c00&gt;] (ret_fast_syscall+0x0/0x2c)
Kernel panic - not syncing: Fatal exception

The problem is that 'ubi_wl_scrub_peb()' does not expect that PEBs may
be in the erroneous tree, which is a bug. This patch fixes the bug
and adds corresponding check to 'ubi_wl_scrub_peb()'. Now it will simply
ignore erroneous PEBs, instead of causing an oops.

Reported-by: Matthieu CASTET &lt;matthieu.castet@parrot.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UBI: fix kconfig unmet dependency</title>
<updated>2010-08-30T10:31:34+00:00</updated>
<author>
<name>Randy Dunlap</name>
<email>randy.dunlap@oracle.com</email>
</author>
<published>2010-08-12T19:10:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=1deacd7a1d4bb22f812908c34e3254de76e4faa8'/>
<id>1deacd7a1d4bb22f812908c34e3254de76e4faa8</id>
<content type='text'>
warning: (OPTPROBES &amp;&amp; KPROBES &amp;&amp; HAVE_OPTPROBES &amp;&amp; !PREEMPT &amp;&amp; DEBUG_KERNEL ||
MTD_UBI_DEBUG &amp;&amp; MTD &amp;&amp; SYSFS &amp;&amp; MTD_UBI || UBIFS_FS_DEBUG &amp;&amp; MISC_FILESYSTEMS &amp;&amp;
UBIFS_FS || LOCKDEP &amp;&amp; DEBUG_KERNEL &amp;&amp; TRACE_IRQFLAGS_SUPPORT &amp;&amp;
STACKTRACE_SUPPORT &amp;&amp; LOCKDEP_SUPPORT || LATENCYTOP &amp;&amp; HAVE_LATENCYTOP_SUPPORT &amp;&amp;
DEBUG_KERNEL &amp;&amp; STACKTRACE_SUPPORT &amp;&amp; PROC_FS) selects KALLSYMS_ALL
which has unmet direct dependencies (DEBUG_KERNEL &amp;&amp; KALLSYMS)

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
warning: (OPTPROBES &amp;&amp; KPROBES &amp;&amp; HAVE_OPTPROBES &amp;&amp; !PREEMPT &amp;&amp; DEBUG_KERNEL ||
MTD_UBI_DEBUG &amp;&amp; MTD &amp;&amp; SYSFS &amp;&amp; MTD_UBI || UBIFS_FS_DEBUG &amp;&amp; MISC_FILESYSTEMS &amp;&amp;
UBIFS_FS || LOCKDEP &amp;&amp; DEBUG_KERNEL &amp;&amp; TRACE_IRQFLAGS_SUPPORT &amp;&amp;
STACKTRACE_SUPPORT &amp;&amp; LOCKDEP_SUPPORT || LATENCYTOP &amp;&amp; HAVE_LATENCYTOP_SUPPORT &amp;&amp;
DEBUG_KERNEL &amp;&amp; STACKTRACE_SUPPORT &amp;&amp; PROC_FS) selects KALLSYMS_ALL
which has unmet direct dependencies (DEBUG_KERNEL &amp;&amp; KALLSYMS)

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UBI: fix forward compatibility</title>
<updated>2010-08-30T07:19:11+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-08-28T09:11:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=80c1c16fb89e7055acb560e6d90c881b5c7496c1'/>
<id>80c1c16fb89e7055acb560e6d90c881b5c7496c1</id>
<content type='text'>
Commit 0798cea8c2e1afee59686c51d27d0e96b05e42d1 "UBI: improve corrupted flash handling"
broke delet-compatible volumes handling - it introduced a limit of 8 eraseblocks which
may be corrupted. And delete-compatible eraseblocks are added to the "corrupted" list,
so if we'd have a large delete-compatible volume, UBI would refuse it.

The fix is to add delete-compatible volumes to the erase list instead. Indeed, they are
corrupted, we just have to erase them.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 0798cea8c2e1afee59686c51d27d0e96b05e42d1 "UBI: improve corrupted flash handling"
broke delet-compatible volumes handling - it introduced a limit of 8 eraseblocks which
may be corrupted. And delete-compatible eraseblocks are added to the "corrupted" list,
so if we'd have a large delete-compatible volume, UBI would refuse it.

The fix is to add delete-compatible volumes to the erase list instead. Indeed, they are
corrupted, we just have to erase them.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UBI: eliminate update of list_for_each_entry loop cursor</title>
<updated>2010-08-30T07:19:11+00:00</updated>
<author>
<name>Julia Lawall</name>
<email>julia@diku.dk</email>
</author>
<published>2010-08-07T09:09:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=01ebc12f5f2e88a1c6a5436b71a506ac2bf66d6b'/>
<id>01ebc12f5f2e88a1c6a5436b71a506ac2bf66d6b</id>
<content type='text'>
list_for_each_entry uses its first argument to move from one element to the
next, so modifying it can break the iteration.  The variable re1 is already
used within the loop as a temporary variable, and is not live here.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@r@
iterator name list_for_each_entry;
expression x,E;
position p1,p2;
@@

list_for_each_entry@p1(x,...) { &lt;... x =@p2 E ...&gt; }

@@
expression x,E;
position r.p1,r.p2;
statement S;
@@

*x =@p2 E
...
list_for_each_entry@p1(x,...) S
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
list_for_each_entry uses its first argument to move from one element to the
next, so modifying it can break the iteration.  The variable re1 is already
used within the loop as a temporary variable, and is not live here.

The semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@r@
iterator name list_for_each_entry;
expression x,E;
position p1,p2;
@@

list_for_each_entry@p1(x,...) { &lt;... x =@p2 E ...&gt; }

@@
expression x,E;
position r.p1,r.p2;
statement S;
@@

*x =@p2 E
...
list_for_each_entry@p1(x,...) S
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UBI: do not warn unnecessarily</title>
<updated>2010-08-02T04:21:19+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-07-30T11:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=64d4b4c90a876401e503c3a3260e9d0ed066f271'/>
<id>64d4b4c90a876401e503c3a3260e9d0ed066f271</id>
<content type='text'>
Currently, when UBI attaches an MTD device and cannot reserve all 1% (by
default) of PEBs for bad eraseblocks handling, it prints a warning. However,
Matthew L. Creech &lt;mlcreech@gmail.com&gt; is not very happy to see this warning,
because he did reserve enough of PEB at the beginning, but with time some
PEBs became bad. The warning is not necessary in this case.

This patch makes UBI print the warning
 o if this is a new image
 o of this is used image and the amount of reserved PEBs is only 10% (or less)
   of the size of the reserved PEB pool.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, when UBI attaches an MTD device and cannot reserve all 1% (by
default) of PEBs for bad eraseblocks handling, it prints a warning. However,
Matthew L. Creech &lt;mlcreech@gmail.com&gt; is not very happy to see this warning,
because he did reserve enough of PEB at the beginning, but with time some
PEBs became bad. The warning is not necessary in this case.

This patch makes UBI print the warning
 o if this is a new image
 o of this is used image and the amount of reserved PEBs is only 10% (or less)
   of the size of the reserved PEB pool.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UBI: do not print message about corruptes PEBs if we have none of them</title>
<updated>2010-08-02T04:21:19+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-07-30T13:31:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=7cdb996ee4d04b5bb2cd544b14e8eb91cfd7fe64'/>
<id>7cdb996ee4d04b5bb2cd544b14e8eb91cfd7fe64</id>
<content type='text'>
Currently UBI prints

UBI: corrupted PEBs will be formatted

even if there are not corrupted PEBs. Fix this.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently UBI prints

UBI: corrupted PEBs will be formatted

even if there are not corrupted PEBs. Fix this.

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UBI: improve delete-compatible volumes handling</title>
<updated>2010-06-16T06:39:49+00:00</updated>
<author>
<name>Brijesh Singh</name>
<email>brijesh.s.singh@gmail.com</email>
</author>
<published>2010-06-16T06:28:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=158132c9abbccce802def10e5ffaf044b266a6e1'/>
<id>158132c9abbccce802def10e5ffaf044b266a6e1</id>
<content type='text'>
When a delete-compatible volume is found, it is first added to the
'corr' list, which contains "corrupted" PEBs which should be erased,
and then it is added to the used volumes tree. However, the second
step should not be done. This does not cause problems in practice,
because we never access delete-compattible volumes, but it is still
not the right thing to do.

[Artem: amended the commit message and few prints]

Signed-off-by: Brijesh Singh &lt;brijesh.s.singh@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a delete-compatible volume is found, it is first added to the
'corr' list, which contains "corrupted" PEBs which should be erased,
and then it is added to the used volumes tree. However, the second
step should not be done. This does not cause problems in practice,
because we never access delete-compattible volumes, but it is still
not the right thing to do.

[Artem: amended the commit message and few prints]

Signed-off-by: Brijesh Singh &lt;brijesh.s.singh@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UBI: fix error message and compilation warnings</title>
<updated>2010-06-14T05:47:49+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-06-14T05:15:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f5d5b1f8c12a7637ee1145f2f00358eb375edb54'/>
<id>f5d5b1f8c12a7637ee1145f2f00358eb375edb54</id>
<content type='text'>
Fix the followong compilation warnings introduced by commit
095751a6e0838a712393a74eb0b7b6559dbdbe81:

drivers/mtd/ubi/scan.c: In function 'check_what_we_have':
drivers/mtd/ubi/scan.c:960: warning: passing argument 1 of 'get_random_bytes' discards qualifiers from pointer target type

Fix the following compilation warnings introduced by commit
1a49af2ca019dcb4614c32f832bbcb814b61409c:

drivers/mtd/ubi/io.c: In function 'ubi_io_read':
drivers/mtd/ubi/io.c:153: warning: initialization makes integer from pointer without a cast
drivers/mtd/ubi/io.c:170: warning: format '%s' expects type 'char *', but argument 5 has type 'int'
drivers/mtd/ubi/io.c:177: warning: format '%zd' expects type 'signed size_t', but argument 7 has type 'int'
drivers/mtd/ubi/io.c:177: warning: too many arguments for format

Also, amend the ECC error code string and add brackets and whitespace
there - this should make the message readable.

Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the followong compilation warnings introduced by commit
095751a6e0838a712393a74eb0b7b6559dbdbe81:

drivers/mtd/ubi/scan.c: In function 'check_what_we_have':
drivers/mtd/ubi/scan.c:960: warning: passing argument 1 of 'get_random_bytes' discards qualifiers from pointer target type

Fix the following compilation warnings introduced by commit
1a49af2ca019dcb4614c32f832bbcb814b61409c:

drivers/mtd/ubi/io.c: In function 'ubi_io_read':
drivers/mtd/ubi/io.c:153: warning: initialization makes integer from pointer without a cast
drivers/mtd/ubi/io.c:170: warning: format '%s' expects type 'char *', but argument 5 has type 'int'
drivers/mtd/ubi/io.c:177: warning: format '%zd' expects type 'signed size_t', but argument 7 has type 'int'
drivers/mtd/ubi/io.c:177: warning: too many arguments for format

Also, amend the ECC error code string and add brackets and whitespace
there - this should make the message readable.

Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UBI: generate random image_seq when formatting MTD devices</title>
<updated>2010-06-11T14:23:37+00:00</updated>
<author>
<name>Matthieu CASTET</name>
<email>matthieu.castet@parrot.com</email>
</author>
<published>2010-06-03T14:14:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=095751a6e0838a712393a74eb0b7b6559dbdbe81'/>
<id>095751a6e0838a712393a74eb0b7b6559dbdbe81</id>
<content type='text'>
Generate random image_seq when attaching empty MTD device (kernel do the
ubi formating).

Signed-off-by: Matthieu CASTET &lt;matthieu.castet@parrot.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Generate random image_seq when attaching empty MTD device (kernel do the
ubi formating).

Signed-off-by: Matthieu CASTET &lt;matthieu.castet@parrot.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UBI: improve ECC error message</title>
<updated>2010-06-11T14:23:37+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-06-08T07:59:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=1a49af2ca019dcb4614c32f832bbcb814b61409c'/>
<id>1a49af2ca019dcb4614c32f832bbcb814b61409c</id>
<content type='text'>
ECC errors are quite typical errors on NAND, so it is worth improving
the UBI message and print something like

ubi_io_read: error -74 (ECC error) while reading 4096 bytes from PEB 1:4 ...

rather than

ubi_io_read: error -74 while reading 4096 bytes from PEB 1:4 ...

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ECC errors are quite typical errors on NAND, so it is worth improving
the UBI message and print something like

ubi_io_read: error -74 (ECC error) while reading 4096 bytes from PEB 1:4 ...

rather than

ubi_io_read: error -74 while reading 4096 bytes from PEB 1:4 ...

Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
