[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1161351453.3135.11.camel@dyn-9-152-230-71.boeblingen.de.ibm.com>
Date: Fri, 20 Oct 2006 15:37:33 +0200
From: Martin Peschke <mp3@...ibm.com>
To: Andrew Morton <akpm@...l.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [Patch] 2.6.19-rc2-mm2 warning fix for tty3270
Changing the type of the termios parameter to conform with struct
tty_operations. This is trivial as tty3270_set_termios doesn't use it.
CC drivers/s390/char/tty3270.o
drivers/s390/char/tty3270.c:1755: warning: initialization from incompatible pointer type
Signed-off-by: Martin Peschke <mp3@...ibm.com>
---
tty3270.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/s390/char/tty3270.c 2006-10-19 23:30:53.000000000 +0200
+++ b/drivers/s390/char/tty3270.c 2006-10-19 23:28:38.000000000 +0200
@@ -1659,7 +1659,7 @@ tty3270_flush_buffer(struct tty_struct *
* Check for visible/invisible input switches
*/
static void
-tty3270_set_termios(struct tty_struct *tty, struct termios *old)
+tty3270_set_termios(struct tty_struct *tty, struct ktermios *old)
{
struct tty3270 *tp;
int new;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists