linux/drivers/s390/net
Peter Senna Tschudin b8f37a4aa0 ctcm: fix error return code
Convert a nonnegative error return code 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>
(
if@p1 (\(ret < 0\|ret != 0\))
 { ... return ret; }
|
ret@p1 = 0
)
... when != ret = e1
    when != &ret
*if(...)
{
  ... when != ret = e2
      when forall
 return ret;
}
// </smpl>

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-09-24 15:45:18 -04:00
..
claw.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
claw.h
ctcm_dbug.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_dbug.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_fsms.c drivers/s390/net: removes unnecessary semicolon 2012-09-24 15:45:17 -04:00
ctcm_fsms.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_main.c ctcm: fix error return code 2012-09-24 15:45:18 -04:00
ctcm_main.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_mpc.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_mpc.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctcm_sysfs.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
fsm.c
fsm.h
Kconfig s390: delete any traces of token ring support 2012-05-15 20:08:21 -04:00
lcs.c lcs: ensure proper ccw setup 2012-09-24 15:45:17 -04:00
lcs.h
Makefile
netiucv.c netiucv: cleanup attribute usage 2012-07-25 15:24:13 -07:00
qeth_core.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qeth_core_main.c drivers/s390/net: removes unnecessary semicolon 2012-09-24 15:45:17 -04:00
qeth_core_mpc.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qeth_core_mpc.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qeth_core_sys.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qeth_l2_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-07-24 10:01:50 -07:00
qeth_l3.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
qeth_l3_main.c qeth: fix possible memory leak in qeth_l3_add_[vipa|rxip]() 2012-09-24 15:45:17 -04:00
qeth_l3_sys.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
smsgiucv.c
smsgiucv.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
smsgiucv_app.c