From: Greg Kroah-Hartman Date: Sat, 4 Sep 2021 06:28:26 +0000 (+0200) Subject: 4.9-stable patches X-Git-Tag: v5.10.63~42 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3368ce9cb6dd850737d70629469a56bf240b7369;p=thirdparty%2Fkernel%2Fstable-queue.git 4.9-stable patches added patches: mtd-nand-atmel_nand-remove-build-warning-in.patch --- diff --git a/queue-4.9/mtd-nand-atmel_nand-remove-build-warning-in.patch b/queue-4.9/mtd-nand-atmel_nand-remove-build-warning-in.patch new file mode 100644 index 00000000000..4afaf7292dc --- /dev/null +++ b/queue-4.9/mtd-nand-atmel_nand-remove-build-warning-in.patch @@ -0,0 +1,37 @@ +From 154da3695259f182eecda73d0f7a858475b08466 Mon Sep 17 00:00:00 2001 +From: Greg Kroah-Hartman +Date: Fri, 3 Sep 2021 18:51:07 +0200 +Subject: mtd: nand: atmel_nand: remove build warning in atmel_nand_remove() + +From: Greg Kroah-Hartman + +In the 4.9.y tree, the following build warning keeps showing up: + + drivers/mtd/nand/atmel_nand.c:2337:19: warning: unused variable 'mtd' [-Wunused-variable] + +This driver was deleted / restructured in newer kernels so this is a +4.9.y patch only. + +Cc: Wenyou Yang +Cc: Josh Wu +Cc: Boris Brezillon +Cc: Richard Weinberger +Cc: David Woodhouse +Cc: Brian Norris +Cc: Marek Vasut +Cc: Cyrille Pitchen +Signed-off-by: Greg Kroah-Hartman +--- + drivers/mtd/nand/atmel_nand.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/drivers/mtd/nand/atmel_nand.c ++++ b/drivers/mtd/nand/atmel_nand.c +@@ -2334,7 +2334,6 @@ err_nand_ioremap: + static int atmel_nand_remove(struct platform_device *pdev) + { + struct atmel_nand_host *host = platform_get_drvdata(pdev); +- struct mtd_info *mtd = nand_to_mtd(&host->nand_chip); + + nand_release(&host->nand_chip); + diff --git a/queue-4.9/series b/queue-4.9/series index 878d64d4ef4..b1aeeea0af7 100644 --- a/queue-4.9/series +++ b/queue-4.9/series @@ -1 +1,2 @@ ext4-fix-race-writing-to-an-inline_data-file-while-its-xattrs-are-changing.patch +mtd-nand-atmel_nand-remove-build-warning-in.patch