OpenCloudOS-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 MIPS: ath79: Remove the builtin DTB support 2016-05-13 14:01:37 +02:00
Makefile MIPS: ath79: Move the GPIO driver to drivers/gpio 2015-09-03 12:08:02 +02:00
Platform MIPS: Add initial support for the Atheros AR71XX/AR724X/AR931X SoCs 2011-01-18 19:30:24 +01: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 MIPS: ath79: add common watchdog device 2011-01-18 19:30:26 +01:00
dev-gpio-buttons.c MIPS: ath79: Use kmemdup rather than duplicating its implementation 2012-05-15 17:49:00 +02:00
dev-gpio-buttons.h MIPS: ath79: add common GPIO buttons device 2011-01-18 19:30:27 +01:00
dev-leds-gpio.c MIPS: ath79: Use kmemdup rather than duplicating its implementation 2012-05-15 17:49:00 +02:00
dev-leds-gpio.h MIPS: ath79: add common GPIO LEDs device 2011-01-18 19:30:26 +01:00
dev-spi.c MIPS: ath79: add common SPI controller device 2011-01-18 19:30:27 +01:00
dev-spi.h MIPS: ath79: add common SPI controller device 2011-01-18 19:30:27 +01:00
dev-usb.c MIPS: ath79: add USB controller registration code for the QCA955X SoCs 2013-02-19 09:36:33 +01:00
dev-usb.h MIPS: ath79: add common USB Host Controller device 2011-12-07 22:02:44 +00:00
dev-wmac.c MIPS: ath79: add WMAC registration code for the QCA955X SoCs 2013-02-19 09:36:30 +01:00
dev-wmac.h MIPS: ath79: Rename dev-ar913x-wmac.h to dev-wmac.h 2011-12-07 22:02:48 +00:00
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
mach-ap81.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mach-ap121.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mach-ap136.c MIPS: ath79: Fix argument for the ap136_pc_init function 2013-06-21 18:07:02 +02:00
mach-db120.c MIPS: ath79: Fix compilation error when CONFIG_PCI is disabled 2014-10-22 23:16:59 +02:00
mach-pb44.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
mach-ubnt-xm.c MIPS: ath79: remove ar724x_pci_add_data function 2012-05-15 17:49:06 +02:00
machtypes.h MIPS: ath79: Add basic device tree support 2015-06-21 21:54:01 +02:00
pci.c MIPS: ath79: add PCI controller registration code for the QCA955X SoCs 2013-02-19 09:36:32 +01:00
pci.h MIPS: ath79: allow to specify bus number in PCI IRQ maps 2013-02-17 01:25:38 +01:00
prom.c MIPS: ath79: fix build problem if CONFIG_BLK_DEV_INITRD is not set 2015-05-29 20:23:36 +02:00
setup.c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2016-08-06 09:13:11 -04:00