kernel: bump 4.9 to 4.9.116
[openwrt/openwrt.git] / target / linux / ar71xx / patches-4.9 / 408-mtd-redboot_partition_scan.patch
index cd41e7ceb27289f9c9b635dde3d48df0afc3f5f8..18ff52aca3a09926d7a586be613648a550ff12a1 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/mtd/redboot.c
 +++ b/drivers/mtd/redboot.c
-@@ -76,12 +76,18 @@ static int parse_redboot_partitions(stru
+@@ -77,12 +77,18 @@ static int parse_redboot_partitions(stru
        static char nullstring[] = "unallocated";
  #endif
  
@@ -19,7 +19,7 @@
                                return -EIO;
                        }
                        offset -= master->erasesize;
-@@ -94,10 +100,6 @@ static int parse_redboot_partitions(stru
+@@ -95,10 +101,6 @@ static int parse_redboot_partitions(stru
                                goto nogood;
                }
        }
@@ -30,7 +30,7 @@
  
        printk(KERN_NOTICE "Searching for RedBoot partition table in %s at offset 0x%lx\n",
               master->name, offset);
-@@ -170,6 +172,11 @@ static int parse_redboot_partitions(stru
+@@ -171,6 +173,11 @@ static int parse_redboot_partitions(stru
        }
        if (i == numslots) {
                /* Didn't find it */