]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] termio <-> termios conversion error handling.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 4 Dec 2006 14:40:02 +0000 (15:40 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 4 Dec 2006 14:40:02 +0000 (15:40 +0100)
commitd9e7875b5766a7f6a5170d10310f9e7894d2c21e
tree513f3469f04440b6c3a3ef47bb6810ce1c381c3f
parenta61fc8a1cd2592016156cabadbbbce49e3f4f62d
[S390] termio <-> termios conversion error handling.

Get rid of our own user_termio_to_kernel_termios() and
kernel_termios_to_user_termio() macros which didn't check for errors
on user space accesses. Instead use the generic functions which
handle this properly.
In addition the generic version of user_termio_to_kernel_termios()
also copies the c_line member which was missing in our variant.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
include/asm-s390/termios.h