1
linux/drivers/s390/char
Peter Senna Tschudin 72abaadf25 drivers/s390/char/monreader.c: 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: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2012-09-26 15:45:26 +02:00
..
con3215.c tty: add missing tty_port_tty_get() call to raw3215_wakeup 2012-04-17 13:55:43 -07:00
con3270.c s390/3270: drop unused spinlock from struct con3270 2012-09-26 15:45:11 +02:00
ctrlchar.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
ctrlchar.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
defkeymap.c
defkeymap.map
fs3270.c compat: fix compile breakage on s390 2012-02-27 07:54:27 -08:00
Kconfig [S390] kconfig: remove tape interface support comment 2011-07-24 10:48:00 +02:00
keyboard.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
keyboard.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
Makefile [S390] get CPC image name 2011-05-23 10:24:32 +02:00
monreader.c drivers/s390/char/monreader.c: fix error return code 2012-09-26 15:45:26 +02:00
monwriter.c [S390] monwriter: fix return code handling 2011-05-23 10:24:29 +02:00
raw3270.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
raw3270.h
sclp_async.c [S390] sclp_async: Use kstrtoul_from_user 2011-08-03 16:44:20 +02:00
sclp_cmd.c KVM: s390: Perform early event mask processing during boot 2012-06-13 20:53:45 -03:00
sclp_con.c
sclp_config.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sclp_cpi_sys.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sclp_cpi_sys.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sclp_cpi.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sclp_ocf.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sclp_quiesce.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sclp_rw.c s390/sclp: use -EOPNOTSUPP instead of -ENOSYS 2012-09-26 15:45:13 +02:00
sclp_rw.h
sclp_sdias.c s390/sclp_sdias: Add missing break and "fall through" 2012-08-08 07:32:55 -07:00
sclp_tty.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sclp_tty.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
sclp_vt220.c TTY: sclp_vt220, remove unused allocation 2012-04-09 11:28:17 -07:00
sclp.c s390/sclp: use -EOPNOTSUPP instead of -ENOSYS 2012-09-26 15:45:13 +02:00
sclp.h KVM: s390: Perform early event mask processing during boot 2012-06-13 20:53:45 -03:00
tape_34xx.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
tape_3590.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
tape_3590.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
tape_char.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
tape_class.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
tape_class.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
tape_core.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
tape_proc.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
tape_std.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
tape_std.h s390/tape: remove even more tape block leftovers 2012-09-26 15:45:20 +02:00
tape.h s390/tape: remove even more tape block leftovers 2012-09-26 15:45:20 +02:00
tty3270.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
tty3270.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
vmcp.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
vmcp.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
vmlogrdr.c s390/vmlogrdr: change return value from -ENOSYS to -EOPNOTSUPP 2012-09-26 15:45:16 +02:00
vmur.c [S390] s390/char/vmur.c: fix memory leak 2012-04-11 14:28:24 +02:00
vmur.h
vmwatchdog.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
zcore.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00