• R/O
  • HTTP
  • SSH
  • HTTPS

linux-2.4.36: Commit

2.4.36-stable kernel tree


Commit MetaInfo

Revisione1ae084aef9fec3dfd47e32af94acfc9a4f04051 (tree)
Zeit2007-02-25 16:16:39
AutorAndrzej Stypula <andrzej@alta...>
CommiterWilly Tarreau

Log Message

[PATCH] fix build of serial with DEBUG enabled

This patch corrects define statement and variable name. Without this
patch is impossible to compile the serial driver with debug information.
This is probably copy/paste mistake from 2.2 or whatever.

Ändern Zusammenfassung

Diff

--- a/drivers/char/serial.c
+++ b/drivers/char/serial.c
@@ -935,7 +935,7 @@ static void rs_interrupt_single(int irq, void *dev_id, struct pt_regs * regs)
935935 transmit_chars(info, 0);
936936 #endif
937937 if (pass_counter++ > RS_ISR_PASS_LIMIT) {
938-#if SERIAL_DEBUG_INTR
938+#ifdef SERIAL_DEBUG_INTR
939939 printk("rs_single loop break.\n");
940940 #endif
941941 break;
@@ -4214,7 +4214,7 @@ pci_inteli960ni_fn(struct pci_dev *dev,
42144214
42154215 #ifdef SERIAL_DEBUG_PCI
42164216 printk(KERN_DEBUG " Subsystem ID %lx (intel 960)\n",
4217- (unsigned long) board->subdevice);
4217+ (unsigned long) dev->subsystem_device);
42184218 #endif
42194219 /* is firmware started? */
42204220 pci_read_config_dword(dev, 0x44, (void*) &oldval);
Show on old repository browser