Changeset 44801


Ignore:
Timestamp:
2015-03-16T06:16:14+01:00 (3 years ago)
Author:
nbd
Message:

kernel: port missing ubi EOF marker support patch to 3.19 and 4.0

Signed-off-by: Felix Fietkau <nbd@…>

Location:
trunk/target/linux/generic
Files:
2 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/patches-3.19/494-mtd-ubi-add-EOF-marker-support.patch

    r44800 r44801  
    11--- a/drivers/mtd/ubi/attach.c 
    22+++ b/drivers/mtd/ubi/attach.c 
    3 @@ -800,6 +800,13 @@ out_unlock: 
     3@@ -803,6 +803,13 @@ out_unlock: 
    44        return err; 
    55 } 
     
    1515  * scan_peb - scan and process UBI headers of a PEB. 
    1616  * @ubi: UBI device description object 
    17 @@ -830,9 +837,21 @@ static int scan_peb(struct ubi_device *u 
     17@@ -833,9 +840,21 @@ static int scan_peb(struct ubi_device *u 
    1818                return 0; 
    1919        } 
     
    4242--- a/drivers/mtd/ubi/ubi.h 
    4343+++ b/drivers/mtd/ubi/ubi.h 
    44 @@ -701,6 +701,7 @@ struct ubi_attach_info { 
     44@@ -702,6 +702,7 @@ struct ubi_attach_info { 
    4545        int mean_ec; 
    4646        uint64_t ec_sum; 
  • trunk/target/linux/generic/patches-4.0/494-mtd-ubi-add-EOF-marker-support.patch

    r44800 r44801  
    11--- a/drivers/mtd/ubi/attach.c 
    22+++ b/drivers/mtd/ubi/attach.c 
    3 @@ -800,6 +800,13 @@ out_unlock: 
     3@@ -803,6 +803,13 @@ out_unlock: 
    44        return err; 
    55 } 
     
    1515  * scan_peb - scan and process UBI headers of a PEB. 
    1616  * @ubi: UBI device description object 
    17 @@ -830,9 +837,21 @@ static int scan_peb(struct ubi_device *u 
     17@@ -833,9 +840,21 @@ static int scan_peb(struct ubi_device *u 
    1818                return 0; 
    1919        } 
     
    4242--- a/drivers/mtd/ubi/ubi.h 
    4343+++ b/drivers/mtd/ubi/ubi.h 
    44 @@ -701,6 +701,7 @@ struct ubi_attach_info { 
     44@@ -706,6 +706,7 @@ struct ubi_attach_info { 
    4545        int mean_ec; 
    4646        uint64_t ec_sum; 
Note: See TracChangeset for help on using the changeset viewer.