Re: arch/i386/kernel/mpparse.c warning fixes

From: William Lee Irwin III (wli@holomorphy.com)
Date: Thu May 22 2003 - 13:59:21 EST


On Thu, May 22, 2003 at 08:49:33PM +0200, mikpe@csd.uu.se wrote:
> Ah, so it's a workaround to silence a compiler warning on char > 256.
> Frankly, I'd rather see a cast there in this case. I.e.,
> (unsigned int)m->mpc_apicid >= MAX_APICS
> or something like that, with a suitable comment.

Already tried it. It does not suffice to silence the compiler.

-- wli
-
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 : Fri May 23 2003 - 22:00:50 EST