Skip to contentSkip to conversation

Generic serial warning

PATCH New Geert Uytterhoeven 1 participant 1 message Sep 28, 2003 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Generic serial warning

Generic serial: jiffies are unsigned long

drivers/char/generic_serial.c +1 -1
@@ -348,7 +348,7 @@
 static int gs_wait_tx_flushed (void * ptr, int timeout) 
 {
 	struct gs_port *port = ptr;
-	long end_jiffies;
+	unsigned long end_jiffies;
 	int jiffies_to_transmit, charsleft = 0, rv = 0;
 	int rcib;
 

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds