aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/xarray.c
diff options
context:
space:
mode:
authorJan Kiszka <[email protected]>2018-08-26 17:49:32 +0000
committerGreg Kroah-Hartman <[email protected]>2018-09-18 13:22:15 +0000
commite0bf2d4982fe7d9ddaf550dd023803ea286f47fc (patch)
tree26027cba68693f2a4c197ff8c67df69ede339314 /tools/testing/radix-tree/xarray.c
parentLinux 4.19-rc4 (diff)
downloadkernel-e0bf2d4982fe7d9ddaf550dd023803ea286f47fc.tar.gz
kernel-e0bf2d4982fe7d9ddaf550dd023803ea286f47fc.zip
serial: mvebu-uart: Fix reporting of effective CSIZE to userspace
Apparently, this driver (or the hardware) does not support character length settings. It's apparently running in 8-bit mode, but it makes userspace believe it's in 5-bit mode. That makes tcsetattr with CS8 incorrectly fail, breaking e.g. getty from busybox, thus the login shell on ttyMVx. Fix by hard-wiring CS8 into c_cflag. Signed-off-by: Jan Kiszka <[email protected]> Fixes: 30530791a7a0 ("serial: mvebu-uart: initial support for Armada-3700 serial port") Cc: stable <[email protected]> # 4.6+ Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/xarray.c')
0 files changed, 0 insertions, 0 deletions