android_kernel_motorola_sm6225/arch/mips
Huacai Chen cf12bffc95 MIPS: KVM: Fix a build warning about variable set but not used
[ Upstream commit 83767a67e7b6a0291cde5681ec7e3708f3f8f877 ]

After commit 411740f542 ("KVM: MIPS/MMU: Implement KVM_CAP_SYNC_MMU")
old_pte is no longer used in kvm_mips_map_page(). So remove it to fix a
build warning about variable set but not used:

   arch/mips/kvm/mmu.c: In function 'kvm_mips_map_page':
>> arch/mips/kvm/mmu.c:701:29: warning: variable 'old_pte' set but not used [-Wunused-but-set-variable]
     701 |         pte_t *ptep, entry, old_pte;
         |                             ^~~~~~~

Cc: stable@vger.kernel.org
Fixes: 411740f542 ("KVM: MIPS/MMU: Implement KVM_CAP_SYNC_MMU")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202310070530.aARZCSfh-lkp@intel.com/
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-12-08 08:43:23 +01:00
..
alchemy MIPS: Alchemy: only build mmc support helpers if au1xmmc is enabled 2023-10-10 21:44:58 +02:00
ar7
ath25
ath79
bcm47xx MIPS: BCM47XX: Cast memcmp() of function to (void *) 2022-10-26 13:19:36 +02:00
bcm63xx MIPS: BCM63xx: Add check for NULL for clk in clk_enable 2023-01-18 11:30:08 +01:00
bmips MIPS: Use address-of operator on section symbols 2022-05-15 19:41:57 +02:00
boot mips: disable branch profiling in boot/decompress.o 2021-07-20 16:16:15 +02:00
cavium-octeon MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping() 2022-09-28 11:02:53 +02:00
cobalt
configs Remove DECnet support from kernel 2023-06-21 15:39:57 +02:00
crypto
dec DEC: Limit PMAX memory probing to R3k systems 2022-04-15 14:14:42 +02:00
emma
fw MIPS: fw: Allow firmware to pass a empty env 2023-05-17 11:13:07 +02:00
generic MIPS: fix allmodconfig build with latest mkimage 2022-05-18 09:42:50 +02:00
include MIPS: cpu-features: Use boot_cpu_type for CPU type based features 2023-08-30 16:31:52 +02:00
jazz
jz4740
kernel mips/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:49:17 +02:00
kvm MIPS: KVM: Fix a build warning about variable set but not used 2023-12-08 08:43:23 +01:00
lantiq MIPS: vpe-mt: drop physical_memsize 2023-03-11 16:31:44 +01:00
lasat
lib MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER 2021-06-16 11:54:58 +02:00
loongson32 MIPS: loongson32: ls1c: Fix hang during startup 2022-09-15 12:17:06 +02:00
loongson64
math-emu
mm MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0 2022-08-25 11:15:47 +02:00
mti-malta MIPS: Malta: fix alignment of the devicetree buffer 2021-09-22 11:48:02 +02:00
net bpf, mips: Validate conditional branch offsets 2021-10-13 10:10:51 +02:00
netlogic
oprofile
paravirt
pci MIPS: pci-legacy: stop using of_pci_range_to_resource 2021-05-22 10:59:37 +02:00
pic32 MIPS: pic32: treat port as signed integer 2022-12-08 11:18:29 +01:00
pistachio
pmcs-msp71xx
pnx833x
power
ralink MIPS: Use address-of operator on section symbols 2022-05-15 19:41:57 +02:00
rb532 MIPS: RB532: fix return value of __setup handler 2022-04-15 14:14:50 +02:00
sgi-ip22
sgi-ip27
sgi-ip32
sibyte
sni MIPS: sni: Fix the build 2021-11-26 11:36:20 +01:00
tools
txx9
vdso MIPS: vdso: Invalid GIC access through VDSO 2021-07-20 16:16:15 +02:00
vr41xx MIPS: Remove repetitive increase irq_err_count 2022-07-02 16:27:33 +02:00
Kbuild
Kbuild.platforms
Kconfig mips/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:49:17 +02:00
Kconfig.debug
Makefile mips: Fix non-POSIX regexp 2021-08-12 13:19:40 +02:00
Makefile.postlink