projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8cc452
)
UBI: fix bug in image sequence number handling
author
Holger Brunck
<holger.brunck@keymile.com>
Mon, 13 Jul 2009 14:47:57 +0000
(16:47 +0200)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Wed, 15 Jul 2009 08:30:59 +0000
(11:30 +0300)
This patch fixes a bug in the image seq. number handling in the
scanning level. The assignment of the image_seq was incorrect.
Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/scan.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/ubi/scan.c
b/drivers/mtd/ubi/scan.c
index f60895ee0aebde9098e1f5251be0a38ecd6cf02f..a423131b617141faaaf7b998e49ceb8b23146fce 100644
(file)
--- a/
drivers/mtd/ubi/scan.c
+++ b/
drivers/mtd/ubi/scan.c
@@
-781,7
+781,7
@@
static int process_eb(struct ubi_device *ubi, struct ubi_scan_info *si,
return -EINVAL;
}
- image_seq = be32_to_cpu(ech->
ec
);
+ image_seq = be32_to_cpu(ech->
image_seq
);
if (!si->image_seq_set) {
ubi->image_seq = image_seq;
si->image_seq_set = 1;