Re: [PATCH] 2.4.20-pre5-ac2: Promise Controller LBA48 DMA fixed

From: Tomas Szepe (szepe@pinerecords.com)
Date: Thu Sep 05 2002 - 09:41:29 EST


> - if (!hwif->pci_dev->device == PCI_DEVICE_ID_PROMISE_20246) {
> + if (!(hwif->pci_dev->device == PCI_DEVICE_ID_PROMISE_20246)) {

Good eye, btw. I was looking at this line a couple times and always
assumed this kind of obfuscation had a purpose of some sort.

And it does after all! It's a bug :)
-
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 : Sat Sep 07 2002 - 22:00:25 EST