s390/tty3270: remove function callback casts
authorOscar Carter <oscar.carter@gmx.com>
Sat, 27 Jun 2020 12:54:17 +0000 (14:54 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 1 Jul 2020 18:00:55 +0000 (20:00 +0200)
commit5cdfbdce5de6b5b56e104676409762fc1289a9c2
treeb6008f3979058b2acbfcdce8047def86e198b926
parentf05f62d04271faa265c7a4f75638ebc380d182fa
s390/tty3270: remove function callback casts

In an effort to enable -Wcast-function-type in the top-level Makefile to
support Control Flow Integrity builds, remove all the function callback
casts.

To do this modify the function prototypes accordingly.

Signed-off-by: Oscar Carter <oscar.carter@gmx.com>
Message-Id: <20200627125417.18887-1-oscar.carter@gmx.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
[heiko.carstens@de.ibm.com: coding style changes]
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/char/tty3270.c