aha/drivers/staging/dst
Julia Lawall d0e0507ad6 Staging: dst: correct error-handling code
dst_state_alloc returns an ERR_PTR value in an error case instead of NULL.

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

// <smpl>
@match exists@
expression x, E;
statement S1, S2;
@@

x = dst_state_alloc(...)
... when != x = E
(
*  if (x == NULL || ...) S1 else S2
|
*  if (x == NULL && ...) S1 else S2
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-09-15 12:02:06 -07:00
..
crypto.c Staging: dst: crypto processing. 2009-04-03 14:53:32 -07:00
dcore.c Merge branch 'for-2.6.32' of git://git.kernel.dk/linux-2.6-block 2009-09-14 17:55:15 -07:00
export.c Staging: dst: correct error-handling code 2009-09-15 12:02:06 -07:00
Kconfig Staging: DST: fix build dependancy 2009-04-03 14:53:33 -07:00
Makefile Staging: dst: kconfig and makefile changes. 2009-04-03 14:53:32 -07:00
state.c
thread_pool.c Staging: DST: extend thread pool exit conditions. 2009-04-03 14:53:33 -07:00
trans.c Staging: dst: transactions. 2009-04-03 14:53:32 -07:00