android_kernel_google_msm/drivers/s390
Martin Schwidefsky 9493ef4e31 s390/3215: fix tty output containing tabs
commit e512d56c79 upstream.

git commit 37f81fa1f6
"n_tty: do O_ONLCR translation as a single write"
surfaced a bug in the 3215 device driver. In combination this
broke tab expansion for tty ouput.

The cause is an asymmetry in the behaviour of tty3215_ops->write
vs tty3215_ops->put_char. The put_char function scans for '\t'
but the write function does not.

As the driver has logic for the '\t' expansion remove XTABS
from c_oflag of the initial termios as well.

Reported-by: Stephen Powell <zlinuxman@wowway.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2015-04-14 17:34:03 +08:00
..
block [S390] drivers/s390/block/dasd_eckd.c: add missing dasd_sfree_request 2012-04-11 14:28:24 +02:00
char s390/3215: fix tty output containing tabs 2015-04-14 17:34:03 +08:00
cio s390/cio: fix pgid reserved check 2013-01-17 08:50:42 -08:00
crypto Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
kvm KVM: s390: Handle hosts not supporting s390-virtio. 2013-02-28 06:59:01 -08:00
net qeth: avoid buffer overflow in snmp ioctl 2013-12-04 10:50:30 -08:00
scsi SCSI: zfcp: fix schedule-inside-lock in scsi_device list loops 2013-08-29 09:50:13 -07:00
Makefile