[PATCH] Warning fix for "comparison is always false"

Russell King rmk+pcmcia at arm.linux.org.uk
Tue Mar 16 23:08:01 GMT 2004


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.  These patches are mostly prepared and this change
will mean fscking around with them yet again.

That said, I'm not going to be able to sort that out for at least two
days due to a meeting in another part of the UK taking precidence over
PCMCIA stuff (and the fact that Linus has put out the -rc releases
hasn't helped either.)

-- 
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