kernel: remove upstreamed patch from 4.19
[oweals/openwrt.git] / target / linux / generic / pending-4.14 / 494-mtd-ubi-add-EOF-marker-support.patch
index 99cc0f6cdceb5e21fe9712799a6e3a92ebce5505..a3b58dd66f343dbdcbfbc9bf8b83a5260fab6346 100644 (file)
@@ -36,7 +36,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 +                      return err;
 +
 +              if (ec_hdr_has_eof(ech)) {
-+                      pr_notice("UBI: EOF marker found, PEBs from %d will be erased",
++                      pr_notice("UBI: EOF marker found, PEBs from %d will be erased\n",
 +                              pnum);
 +                      ai->eof_found = true;
 +              }
@@ -50,7 +50,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
                break;
 --- a/drivers/mtd/ubi/ubi.h
 +++ b/drivers/mtd/ubi/ubi.h
-@@ -778,6 +778,7 @@ struct ubi_attach_info {
+@@ -785,6 +785,7 @@ struct ubi_attach_info {
        int mean_ec;
        uint64_t ec_sum;
        int ec_count;