original_kernel/arch/mips/ath79
Amitoj Kaur Chawla e3b23148fd MIPS: ath79: Fix test for error return of clk_register_fixed_factor().
clk_register_fixed_factor returns an ERR_PTR in case of an error and
should have an IS_ERR check instead of a null check.

The Coccinelle semantic patch used to find this issue is as follows:
@@
expression e;
statement S;
@@

*e = clk_register_fixed_factor(...);
if (!e) S

Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Cc: julia.lawall@lip6.fr
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13894/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-09-13 14:13:26 +02:00
..
Kconfig
Makefile
Platform
clock.c MIPS: ath79: Fix test for error return of clk_register_fixed_factor(). 2016-09-13 14:13:26 +02:00
common.c
common.h
dev-common.c
dev-common.h
dev-gpio-buttons.c
dev-gpio-buttons.h
dev-leds-gpio.c
dev-leds-gpio.h
dev-spi.c
dev-spi.h
dev-usb.c
dev-usb.h
dev-wmac.c
dev-wmac.h
early_printk.c
irq.c
mach-ap81.c
mach-ap121.c
mach-ap136.c
mach-db120.c
mach-pb44.c
mach-ubnt-xm.c
machtypes.h
pci.c
pci.h
prom.c
setup.c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2016-08-06 09:13:11 -04:00