From db41fd66b3b56ef1f33ac2ef9eacb33d41cd1738 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 28 Jan 2020 10:08:52 +0100 Subject: linux-toradex-mainline: update to 4.14.168 Remove upstreamed patch: Commit acab21ffa8c0951f2180f80184c921fa4799c786 'mmc: core: fix possible use after free of host' fixes the issue with the same change as 0015-Revert-mmc-core-fix-error-path-in-mmc_host_alloc. Signed-off-by: Max Krummenacher --- ...mmc-core-fix-error-path-in-mmc_host_alloc.patch | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 recipes-kernel/linux/linux-toradex-mainline-4.14/0015-Revert-mmc-core-fix-error-path-in-mmc_host_alloc.patch (limited to 'recipes-kernel/linux/linux-toradex-mainline-4.14/0015-Revert-mmc-core-fix-error-path-in-mmc_host_alloc.patch') diff --git a/recipes-kernel/linux/linux-toradex-mainline-4.14/0015-Revert-mmc-core-fix-error-path-in-mmc_host_alloc.patch b/recipes-kernel/linux/linux-toradex-mainline-4.14/0015-Revert-mmc-core-fix-error-path-in-mmc_host_alloc.patch deleted file mode 100644 index dd8d127..0000000 --- a/recipes-kernel/linux/linux-toradex-mainline-4.14/0015-Revert-mmc-core-fix-error-path-in-mmc_host_alloc.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 12e25f531b9d910ed72ad5b6dd5e5b36a3f664aa Mon Sep 17 00:00:00 2001 -Message-Id: <12e25f531b9d910ed72ad5b6dd5e5b36a3f664aa.1531317141.git.marcel.ziswiler@toradex.com> -In-Reply-To: <6654e1bd342708a683daf47e7558455f709a3e7e.1531317141.git.marcel.ziswiler@toradex.com> -References: <6654e1bd342708a683daf47e7558455f709a3e7e.1531317141.git.marcel.ziswiler@toradex.com> -From: Marcel Ziswiler -Date: Thu, 19 Apr 2018 13:49:00 +0200 -Subject: [PATCH 15/33] Revert "mmc: core: fix error path in mmc_host_alloc" - -This reverts commit 1ed2171944888cf6787990a0f6387b717ba72e24. - -Signed-off-by: Marcel Ziswiler ---- - drivers/mmc/core/host.c | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c -index ad88deb2e8f3..3740fb0052a4 100644 ---- a/drivers/mmc/core/host.c -+++ b/drivers/mmc/core/host.c -@@ -376,8 +376,6 @@ struct mmc_host *mmc_alloc_host(int extra, struct device *dev) - - if (mmc_gpio_alloc(host)) { - put_device(&host->class_dev); -- ida_simple_remove(&mmc_host_ida, host->index); -- kfree(host); - return NULL; - } - --- -2.14.4 - -- cgit v1.2.3