generic: 5.15: refresh patches
authorNick Hainke <vincent@systemli.org>
Fri, 1 Jul 2022 13:25:29 +0000 (15:25 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 1 Jul 2022 18:24:43 +0000 (20:24 +0200)
Refresh patches:
- 402-mtd-blktrans-call-add-disks-after-mtd-device.patch
- 420-mtd-set-rootfs-to-be-root-dev.patch
- 495-mtd-core-add-get_mtd_device_by_node.patch

Signed-off-by: Nick Hainke <vincent@systemli.org>
target/linux/generic/hack-5.15/402-mtd-blktrans-call-add-disks-after-mtd-device.patch
target/linux/generic/hack-5.15/420-mtd-set-rootfs-to-be-root-dev.patch
target/linux/generic/pending-5.15/495-mtd-core-add-get_mtd_device_by_node.patch

index d0f81c485b7f411ca0926f43a09e4aeed148518e..88ca07f517af56c7fb1cb1a85fd1c638189eaddf 100644 (file)
@@ -77,7 +77,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  
  #include "mtdcore.h"
  
-@@ -1002,6 +1003,8 @@ int mtd_device_parse_register(struct mtd
+@@ -1012,6 +1013,8 @@ int mtd_device_parse_register(struct mtd
  
        ret = mtd_otp_nvmem_add(mtd);
  
index 8ac1dca238e73525167921435b8b6ff21a9cf249..4cefe35e555df6346f7cbb9aba3178700eb3f3e8 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  #include <linux/nvmem-provider.h>
  
  #include <linux/mtd/mtd.h>
-@@ -697,6 +698,16 @@ int add_mtd_device(struct mtd_info *mtd)
+@@ -707,6 +708,16 @@ int add_mtd_device(struct mtd_info *mtd)
           of this try_ nonsense, and no bitching about it
           either. :) */
        __module_get(THIS_MODULE);
index a708a46b0456621663ebae252dcea83a08149d10..d1b2c9d1a5ec602457b8af32633876bbdd8fb632 100644 (file)
@@ -17,7 +17,7 @@ Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
 
 --- a/drivers/mtd/mtdcore.c
 +++ b/drivers/mtd/mtdcore.c
-@@ -1203,6 +1203,44 @@ out_unlock:
+@@ -1213,6 +1213,44 @@ out_unlock:
  }
  EXPORT_SYMBOL_GPL(get_mtd_device_nm);