[patch] dz.c 64 bit locking issues

jes@trained-monkey.org
Thu, 16 Aug 2001 00:26:36 -0400


Hi

The dz.c driver has an instance where it does save_flags() to a 32 bit
type which isn't safe for 64 bit boxen.

Jes

--- drivers/char/dz.c~ Wed Jul 4 17:41:33 2001
+++ drivers/char/dz.c Thu Aug 16 00:24:48 2001
@@ -1279,7 +1279,8 @@

int __init dz_init(void)
{
- int i, flags;
+ int i;
+ unsigned long flags;
struct dz_serial *info;

/* Setup base handler, and timer table. */
-
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/