Messages in this thread Patch in this message | | | Date | Mon, 6 Dec 2004 22:59:02 +0200 (EET) | From | Riina Kikas <> | Subject | [PATCH 2.6] clean-up: fixes "unsigned<0" warning |
| |
This patch fixes warning "comparison of unsigned expression < 0 is always false" occuring on line 711
Signed-off-by: Riina Kikas <Riina.Kikas@mail.ee>
--- a/drivers/ide/setup-pci.c 2004-11-30 19:43:52.000000000 +0000 +++ b/drivers/ide/setup-pci.c 2004-12-06 19:26:57.000000000 +0000 @@ -708,8 +708,7 @@ } else { if (d->init_chipset) { - if(d->init_chipset(dev, d->name) < 0) - return index; + d->init_chipset(dev, d->name) } if (noisy) #ifdef __sparc__ - 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/
| |