OpenCloudOS-Kernel/drivers/staging/tidspbridge
Julia Lawall ff11917d4f staging: tidspbridge: adjust error return code (bugfix)
The variable status is initialized to either 0 or an error code.  Return
status to propagate the error value.

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

// <smpl>
@@
type T;
identifier i;
constant c;
@@

-T i;
<... when != i
-i = c;
...>
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-01-13 15:24:18 -08:00
..
Documentation staging: tidspbridge: Fix typos. 2012-08-13 19:06:59 -07:00
core tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
dynload staging: tidspbridge: dynload: reloc.c: checkpatch.pl cleanup 2012-11-13 13:10:39 -08:00
gen Staging: tidspbridge: Use hashtable implementation 2014-01-09 10:36:59 -08:00
hw staging: tidspbridge: delete unused mmu functions 2012-10-24 16:31:32 -07:00
include/dspbridge Staging: tidspbridge: Use hashtable implementation 2014-01-09 10:36:59 -08:00
pmgr Staging: tidspbridge: Use hashtable implementation 2014-01-09 10:36:59 -08:00
rmgr staging: tidspbridge: adjust error return code (bugfix) 2014-01-13 15:24:18 -08:00
Kconfig Staging: tidspbridge: disable driver 2013-11-27 09:32:49 -08:00
Makefile Staging: TIDSPBRIDGE: Remove UUID helper 2013-12-17 13:09:09 -08:00
TODO staging: tidspbridge: remove custom linked list 2011-02-04 20:11:41 -06:00