diff options
author | Daniel Golle <daniel@makrotopia.org> | 2023-04-15 01:35:17 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2023-04-15 03:23:42 +0100 |
commit | aad34818b50029e07ed9221ae46f9770d6e29785 (patch) | |
tree | 45b6cfdbac96295f45b05bacc91f4b180dcf9b74 /target/linux/generic/pending-5.10 | |
parent | 00a240e77f6d6b1a57dfba1056167dab9584a43f (diff) | |
download | upstream-aad34818b50029e07ed9221ae46f9770d6e29785.tar.gz upstream-aad34818b50029e07ed9221ae46f9770d6e29785.tar.bz2 upstream-aad34818b50029e07ed9221ae46f9770d6e29785.zip |
kernel: backport fix for recently introduced UBI bug
Import commit "ubi: Fix failure attaching when vid_hdr offset equals to
(sub)page size" which did not yet make it to stable upstream Linux trees.
Fixes: #12232
Fixes: #12339
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/generic/pending-5.10')
-rw-r--r-- | target/linux/generic/pending-5.10/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/pending-5.10/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch b/target/linux/generic/pending-5.10/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch index 7c9766fa7b..36bd2bb589 100644 --- a/target/linux/generic/pending-5.10/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch +++ b/target/linux/generic/pending-5.10/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch @@ -8,7 +8,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org> --- a/drivers/mtd/ubi/build.c +++ b/drivers/mtd/ubi/build.c -@@ -1192,6 +1192,73 @@ static struct mtd_info * __init open_mtd +@@ -1201,6 +1201,73 @@ static struct mtd_info * __init open_mtd return mtd; } @@ -82,7 +82,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org> static int __init ubi_init(void) { int err, i, k; -@@ -1275,6 +1342,12 @@ static int __init ubi_init(void) +@@ -1284,6 +1351,12 @@ static int __init ubi_init(void) } } |