From: Greg Kroah-Hartman Date: Tue, 1 Feb 2022 14:32:57 +0000 (+0100) Subject: 5.16-stable patches X-Git-Tag: v5.4.176~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d518f758a6a84e01a1d082116ff7501841f62b8c;p=thirdparty%2Fkernel%2Fstable-queue.git 5.16-stable patches added patches: mtd-rawnand-mpc5121-remove-unused-variable-in-ads5121_select_chip.patch --- diff --git a/queue-5.16/mtd-rawnand-mpc5121-remove-unused-variable-in-ads5121_select_chip.patch b/queue-5.16/mtd-rawnand-mpc5121-remove-unused-variable-in-ads5121_select_chip.patch new file mode 100644 index 00000000000..8c434ad8395 --- /dev/null +++ b/queue-5.16/mtd-rawnand-mpc5121-remove-unused-variable-in-ads5121_select_chip.patch @@ -0,0 +1,37 @@ +From 33a0da68fb073360d36ce1a0e852f75fede7c21e Mon Sep 17 00:00:00 2001 +From: Geert Uytterhoeven +Date: Mon, 22 Nov 2021 14:21:38 +0100 +Subject: mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip() +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +From: Geert Uytterhoeven + +commit 33a0da68fb073360d36ce1a0e852f75fede7c21e upstream. + +drivers/mtd/nand/raw/mpc5121_nfc.c: In function ‘ads5121_select_chip’: +drivers/mtd/nand/raw/mpc5121_nfc.c:294:19: warning: unused variable ‘mtd’ [-Wunused-variable] + 294 | struct mtd_info *mtd = nand_to_mtd(nand); + | ^~~ + +Fixes: 758b56f58b66bebc ("mtd: rawnand: Pass a nand_chip object to chip->select_chip()") +Signed-off-by: Geert Uytterhoeven +Signed-off-by: Miquel Raynal +Link: https://lore.kernel.org/linux-mtd/20211122132138.3899138-1-geert@linux-m68k.org +Cc: Guenter Roeck +Signed-off-by: Greg Kroah-Hartman +--- + drivers/mtd/nand/raw/mpc5121_nfc.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/drivers/mtd/nand/raw/mpc5121_nfc.c ++++ b/drivers/mtd/nand/raw/mpc5121_nfc.c +@@ -291,7 +291,6 @@ static int ads5121_chipselect_init(struc + /* Control chips select signal on ADS5121 board */ + static void ads5121_select_chip(struct nand_chip *nand, int chip) + { +- struct mtd_info *mtd = nand_to_mtd(nand); + struct mpc5121_nfc_prv *prv = nand_get_controller_data(nand); + u8 v; + diff --git a/queue-5.16/series b/queue-5.16/series index bb89cc606e4..8bfb1b227a2 100644 --- a/queue-5.16/series +++ b/queue-5.16/series @@ -133,12 +133,6 @@ ethtool-fix-link-extended-state-for-big-endian.patch net-stmmac-dwmac-visconti-fix-bit-definitions-for-et.patch net-stmmac-dwmac-visconti-fix-clock-configuration-fo.patch phylib-fix-potential-use-after-free.patch -mptcp-allow-changing-the-backup-bit-by-endpoint-id.patch -mptcp-clean-up-harmless-false-expressions.patch -mptcp-keep-track-of-local-endpoint-still-available-f.patch -mptcp-fix-msk-traversal-in-mptcp_nl_cmd_set_flags.patch -mptcp-fix-removing-ids-bitmap-setting.patch -selftests-mptcp-fix-ipv6-routing-setup.patch octeontx2-af-do-not-fixup-all-vf-action-entries.patch octeontx2-af-fix-lbk-backpressure-id-count.patch octeontx2-af-retry-until-rvu-block-reset-complete.patch @@ -198,3 +192,4 @@ kvm-nvmx-rename-vmcs_to_field_offset-_table.patch kvm-nvmx-implement-evmcs_field_offset-suitable-for-handle_vmread.patch kvm-nvmx-allow-vmread-when-enlightened-vmcs-is-in-use.patch block-fix-wrong-offset-in-bio_truncate.patch +mtd-rawnand-mpc5121-remove-unused-variable-in-ads5121_select_chip.patch