kernel_optimize_test/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
..
clock.c MIPS: ath79: Fix test for error return of clk_register_fixed_factor(). 2016-09-13 14:13:26 +02:00
common.c MIPS: ath79: fix regression in PCI window initialization 2016-05-17 11:13:28 +02:00
common.h MIPS: ath79: Allow using ath79_ddr_wb_flush() from drivers 2016-01-04 09:42:25 +01:00
dev-common.c MIPS: ath79: Add OF support to the GPIO driver 2015-06-21 21:54:09 +02:00
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 MIPS: ath79: make bootconsole wait for both THRE and TEMT 2016-04-30 09:26:55 -07:00
irq.c irqchip/ath79-cpu: Move the CPU IRQ driver from arch/mips/ath79/ 2016-02-17 13:47:19 +00:00
Kconfig MIPS: ath79: Remove the builtin DTB support 2016-05-13 14:01:37 +02:00
mach-ap81.c
mach-ap121.c
mach-ap136.c
mach-db120.c
mach-pb44.c
mach-ubnt-xm.c
machtypes.h MIPS: ath79: Add basic device tree support 2015-06-21 21:54:01 +02:00
Makefile MIPS: ath79: Move the GPIO driver to drivers/gpio 2015-09-03 12:08:02 +02:00
pci.c
pci.h
Platform
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