aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mediatek/patches/600-ubi-detect-eof-marker.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-mediatek/patches/600-ubi-detect-eof-marker.patch')
-rw-r--r--package/boot/uboot-mediatek/patches/600-ubi-detect-eof-marker.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/boot/uboot-mediatek/patches/600-ubi-detect-eof-marker.patch b/package/boot/uboot-mediatek/patches/600-ubi-detect-eof-marker.patch
index ab5a5f1611..5d312eca8f 100644
--- a/package/boot/uboot-mediatek/patches/600-ubi-detect-eof-marker.patch
+++ b/package/boot/uboot-mediatek/patches/600-ubi-detect-eof-marker.patch
@@ -1,6 +1,6 @@
---- a/drivers/mtd/ubi/attach.c 2022-07-11 14:42:58.000000000 +0100
-+++ b/drivers/mtd/ubi/attach.c 2022-06-12 16:04:56.623658788 +0100
-@@ -802,6 +802,13 @@
+--- a/drivers/mtd/ubi/attach.c
++++ b/drivers/mtd/ubi/attach.c
+@@ -802,6 +802,13 @@ out_unlock:
return err;
}
@@ -14,7 +14,7 @@
/**
* scan_peb - scan and process UBI headers of a PEB.
* @ubi: UBI device description object
-@@ -832,9 +839,21 @@
+@@ -832,9 +839,21 @@ static int scan_peb(struct ubi_device *u
return 0;
}
@@ -39,9 +39,9 @@
switch (err) {
case 0:
break;
---- a/drivers/mtd/ubi/ubi.h 2022-07-11 14:42:58.000000000 +0100
-+++ b/drivers/mtd/ubi/ubi.h 2022-06-12 16:04:56.626992171 +0100
-@@ -745,6 +745,7 @@
+--- a/drivers/mtd/ubi/ubi.h
++++ b/drivers/mtd/ubi/ubi.h
+@@ -745,6 +745,7 @@ struct ubi_attach_info {
int mean_ec;
uint64_t ec_sum;
int ec_count;