PATCH: 2.5.28 (resend #1) epca and specialix warning fixes

From: Alan Cox (alan@irongate.swansea.linux.org.uk)
Date: Thu Jul 25 2002 - 09:45:21 EST


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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:20 EST