lkml.org 
[lkml]   [2004]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.019 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site