e3b23148fd
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
Platform | ||
clock.c | ||
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 |