aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-4.14/495-mtd-core-add-get_mtd_device_by_node.patch
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2018-09-17 11:52:06 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2018-09-17 15:47:44 +0200
commit0cda4af005f22f3e9a18a1760d8482be1a45e02a (patch)
tree35eef68571fbc0af7a152bd59f47fb07f1999b39 /target/linux/generic/pending-4.14/495-mtd-core-add-get_mtd_device_by_node.patch
parent784d7f0251cfd01e12f55776bf858198ff606e3c (diff)
downloadupstream-0cda4af005f22f3e9a18a1760d8482be1a45e02a.tar.gz
upstream-0cda4af005f22f3e9a18a1760d8482be1a45e02a.tar.bz2
upstream-0cda4af005f22f3e9a18a1760d8482be1a45e02a.zip
kernel: bump 4.14 to 4.14.70
Refreshed all patches. Added new patch: - 192-Revert-ubifs-xattr-Don-t-operate-on-deleted-inodes.patch This fixes a bug introduced in upstream 4.14.68 which caused targets using ubifs to produce file-system errors on boot, rendering them useless. Compile-tested on: cns3xxx, imx6, x86_64 Runtime-tested on: cns3xxx, imx6, x86_64 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/generic/pending-4.14/495-mtd-core-add-get_mtd_device_by_node.patch')
-rw-r--r--target/linux/generic/pending-4.14/495-mtd-core-add-get_mtd_device_by_node.patch11
1 files changed, 2 insertions, 9 deletions
diff --git a/target/linux/generic/pending-4.14/495-mtd-core-add-get_mtd_device_by_node.patch b/target/linux/generic/pending-4.14/495-mtd-core-add-get_mtd_device_by_node.patch
index 32a87d34d5..b9c6bd0125 100644
--- a/target/linux/generic/pending-4.14/495-mtd-core-add-get_mtd_device_by_node.patch
+++ b/target/linux/generic/pending-4.14/495-mtd-core-add-get_mtd_device_by_node.patch
@@ -15,11 +15,9 @@ Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
include/linux/mtd/mtd.h | 2 ++
2 files changed, 40 insertions(+)
-diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c
-index e7ea842ba3db..1134bb81d2e5 100644
--- a/drivers/mtd/mtdcore.c
+++ b/drivers/mtd/mtdcore.c
-@@ -936,6 +936,44 @@ struct mtd_info *get_mtd_device_nm(const char *name)
+@@ -922,6 +922,44 @@ out_unlock:
}
EXPORT_SYMBOL_GPL(get_mtd_device_nm);
@@ -64,11 +62,9 @@ index e7ea842ba3db..1134bb81d2e5 100644
void put_mtd_device(struct mtd_info *mtd)
{
mutex_lock(&mtd_table_mutex);
-diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
-index 6cd0f6b7658b..cf7c8030cd8e 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
-@@ -557,6 +557,8 @@ extern struct mtd_info *get_mtd_device(struct mtd_info *mtd, int num);
+@@ -579,6 +579,8 @@ extern struct mtd_info *get_mtd_device(s
extern int __get_mtd_device(struct mtd_info *mtd);
extern void __put_mtd_device(struct mtd_info *mtd);
extern struct mtd_info *get_mtd_device_nm(const char *name);
@@ -77,6 +73,3 @@ index 6cd0f6b7658b..cf7c8030cd8e 100644
extern void put_mtd_device(struct mtd_info *mtd);
---
-2.18.0
-