]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit654452a48aa2bbfa276016a1e35d8988ff991ebb
tree513f3469f04440b6c3a3ef47bb6810ce1c381c3f
parentbba125a6116e51faff98df1906bf77d06b644aea
[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