[lkml]   [2000]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH test2] fix serial.c compile warning

break_pressed is only used in regions with extra conditionals compared
to sercons.


--- /local/linux/linux-dist/linux-2.4.0-test2/drivers/char/serial.c Thu Jul 6 11:06:39 2000
+++ serial.c Thu Jul 6 11:29:23 2000
@@ -253,8 +258,10 @@
static int IRQ_timeout[NR_IRQS];
static struct console sercons;
+#if defined(CONFIG_MAGIC_SYSRQ) && !defined(MODULE)
static unsigned long break_pressed; /* break, really ... */

static unsigned detect_uart_irq (struct serial_state * state);
static void autoconfig(struct serial_state * state);
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site