linux-stable/arch/mips/cavium-octeon
Menglong Dong 7b490a8ab0 MIPS: OCTEON: fix unreachable code in octeon_irq_init_ciu
The type of 'r' in octeon_irq_init_ciu is 'unsigned int', so 'r < 0'
can't be true.

Fix this by change the type of 'r' and 'i' from 'unsigned int'
to 'int'. As 'i' won't be negative, this change works.

Fixes: 99fbc70f85 ("MIPS: Octeon: irq: Alloc desc before configuring IRQ")
Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2021-01-13 10:59:32 +01:00
..
crypto crypto: mips/octeon - Fix sparse endianness warnings 2020-11-27 17:13:41 +11:00
executive MIPS: Use fallthrough for arch/mips 2020-05-07 11:55:47 +02:00
Kconfig swiotlb: move the SWIOTLB config symbol to lib/Kconfig 2018-05-09 06:58:01 +02:00
Makefile
Platform MIPS: Only include the platform file needed 2020-05-13 00:17:18 +02:00
cpu.c
csrc-octeon.c MIPS: OCTEON: csrc-octeon: include linux/sched/clock.h 2018-11-21 15:36:42 -08:00
dma-octeon.c dma-mapping updates for 5.10 2020-10-15 14:43:29 -07:00
flash_setup.c
oct_ilm.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
octeon-irq.c MIPS: OCTEON: fix unreachable code in octeon_irq_init_ciu 2021-01-13 10:59:32 +01:00
octeon-memcpy.S mips: get rid of tail-zeroing in primitives 2017-04-06 02:08:08 -04:00
octeon-platform.c MIPS: Use fallthrough for arch/mips 2020-05-07 11:55:47 +02:00
octeon-usb.c Revert "MIPS: OCTEON: use devm_platform_ioremap_resource" 2020-09-23 09:26:44 +02:00
octeon_boot.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
setup.c MIPS: OCTEON: Don't add kernel sections into memblock allocator 2020-12-04 13:01:34 +01:00
smp.c MIPS: No need to check CPU 0 in {loongson3,bmips,octeon}_cpu_disable() 2020-11-27 10:38:12 +01:00