android_kernel_oneplus_msm8998/arch/mips/lantiq
Arnd Bergmann 4e6cdc0a7d MIPS: Lantiq: Fix another request_mem_region() return code check
[ Upstream commit 98ea51cb0c8ce009d9da1fd7b48f0ff1d7a9bbb0 ]

Hauke already fixed a couple of them, but one instance remains
that checks for a negative integer when it should check
for a NULL pointer:

arch/mips/lantiq/xway/sysctrl.c: In function 'ltq_soc_init':
arch/mips/lantiq/xway/sysctrl.c:473:19: error: ordered comparison of pointer with integer zero [-Werror=extra]

Fixes: 6e80785267 ("MIPS: Lantiq: Fix check for return value of request_mem_region()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15043/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-08 10:14:18 +02:00
..
falcon MIPS: lantiq: add missing spi clock on falcon SoC 2014-11-24 07:45:18 +01:00
xway MIPS: Lantiq: Fix another request_mem_region() return code check 2017-10-08 10:14:18 +02:00
clk.c MIPS: lantiq: add clk_round_rate() 2015-11-11 08:36:48 +01:00
clk.h MIPS: Lantiq: Add clock detection for grx390 and ar10 2015-11-11 08:37:09 +01:00
early_printk.c MIPS: lantiq: fix early printk 2012-05-15 17:49:22 +02:00
irq.c Revert "MIPS: Lantiq: Fix cascaded IRQ setup" 2017-04-21 09:30:06 +02:00
Kconfig MIPS: Lantiq: Move device-trees to arch/mips/boot/dts/ 2014-09-22 13:35:49 +02:00
Makefile MIPS: Lantiq: Move device-trees to arch/mips/boot/dts/ 2014-09-22 13:35:49 +02:00
Platform MIPS: lantiq: implement support for FALCON soc 2012-05-21 14:31:55 +01:00
prom.c MIPS: Make MIPS_CMDLINE_DTB default 2015-11-11 08:38:37 +01:00
prom.h of/fdt: consolidate built-in dtb section variables 2014-04-30 00:59:13 -05:00