linux/arch/avr32
Julia Lawall 686913aa9f avr32: fix error return code
Convert a zero return value on error to a negative one, as returned
elsewhere in the function.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
identifier ret; expression e1,e2;
@@
(
if (\(ret < 0\|ret != 0\))
 { ... return ret; }
|
ret = 0
)
... when != ret = e1
    when != &ret
*if(...)
{
  ... when != ret = e2
      when forall
 return ret;
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
2014-08-07 15:28:35 +02:00
..
boards avr32: fix error return code 2014-08-07 15:28:35 +02:00
boot avr32: fix out-of-range jump in large kernels 2013-11-20 09:53:21 +01:00
configs USB: delete CONFIG_USB_DEVICEFS from defconfig 2014-05-27 16:07:13 -07:00
include arch,avr32: Convert smp_mb__*() 2014-04-18 11:40:33 +02:00
kernel avr32: replace simple_strtoul() with kstrtoul() 2014-04-01 09:09:25 +02:00
lib
mach-at32ap avr32: pm: Fix section mismatch 2013-12-10 08:46:38 +01:00
mm arch/avr32/mm/cache.c: export symbol flush_icache_range() for module using 2014-03-31 08:41:52 +02:00
oprofile
Kconfig
Kconfig.debug
Makefile avr32: Makefile: add '-D__linux__' flag for gcc-4.4.7 use 2014-02-17 11:24:43 +01:00