2002-07-25 13:29:54

by Alan Cox

[permalink] [raw]
Subject: PATCH: 2.5.28 (resend #1) epca and specialix warning fixes

Event is just used for internal flags and with set_bit for atomicity. This
kills the warning the obvious way

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.28/drivers/char/epca.h linux-2.5.28-ac1/drivers/char/epca.h
--- linux-2.5.28/drivers/char/epca.h Thu Jul 25 10:48:50 2002
+++ linux-2.5.28-ac1/drivers/char/epca.h Sun Jul 21 15:31:27 2002
@@ -121,7 +121,7 @@
int close_delay;
int count;
int blocked_open;
- int event;
+ ulong event;
int asyncflags;
uint dev;
long session;
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.28/drivers/char/specialix_io8.h linux-2.5.28-ac1/drivers/char/specialix_io8.h
--- linux-2.5.28/drivers/char/specialix_io8.h Thu Jul 25 10:48:49 2002
+++ linux-2.5.28-ac1/drivers/char/specialix_io8.h Sun Jul 21 15:35:45 2002
@@ -110,7 +110,7 @@
struct tty_struct * tty;
int count;
int blocked_open;
- int event;
+ ulong event;
int timeout;
int close_delay;
long session;