[PATCH] Warning fix for "comparison is always false"
Russell King
rmk+pcmcia at arm.linux.org.uk
Tue Mar 16 23:10:10 GMT 2004
On Tue, Mar 16, 2004 at 11:08:01PM +0000, Russell King wrote:
> On Tue, Mar 16, 2004 at 06:00:42PM -0500, Pavel Roskin wrote:
> > The attached patch fixes all warnings of this type:
> >
> > drivers/pcmcia/i82365.c: In function `i365_set_io_map':
> > drivers/pcmcia/i82365.c:1134: warning: comparison is always false due to
> > limited range of data type
>
> I'd rather they didn't get fixed just yet - my 11-pcmciaresource series
> changes a fair amount in this area and this "fix" directly collides
> with these patches.
Oh, and these changes make these warnings go away as a matter of
course.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
More information about the linux-pcmcia
mailing list