android_kernel_xiaomi_sm8350/arch/arm/common
Julia Lawall 442a902262 [ARM] arch/arm/common/sa1111.c: Correct error handling code
If it is reasonable to apply PTR_ERR to the result of calling clk_get, then
that result should first be tested with IS_ERR, not with !.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
expression E,E1;
@@

if (
-   E == NULL
+   IS_ERR(E)
   ) { <+... when != E = E1
        PTR_ERR(E)
       ...+> }
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-12-14 11:03:46 +00:00
..
dmabounce.c [ARM] dma: add validation of DMA params 2008-09-29 13:54:28 +01:00
gic.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
icst307.c
icst525.c
it8152.c [ARM] 5298/1: Drop desc_handle_irq() 2008-10-09 15:00:36 +01:00
Kconfig [ARM] dmabounce requires ZONE_DMA 2008-10-17 14:00:43 +01:00
locomo.c Merge branch 'pxa-all' into devel 2008-10-09 21:33:02 +01:00
Makefile [RTC] remove old ARM rtc library code 2008-05-22 14:56:41 +01:00
sa1111.c [ARM] arch/arm/common/sa1111.c: Correct error handling code 2008-12-14 11:03:46 +00:00
scoop.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
sharpsl_param.c [ARM] 4733/1: export sharpsl_param 2008-10-03 10:18:35 +01:00
sharpsl_pm.c [ARM] sharpsl_pm: fix compilation w/o CONFIG_PM 2008-10-30 22:10:15 +08:00
time-acorn.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
uengine.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
via82c505.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
vic.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00