Re: [PATCH] mm/slab.c remove impossible <0 check - size_t is notsigned - patch is against 2.6.1-rc1-mm2

From: Manfred Spraul
Date: Thu Jan 08 2004 - 14:47:43 EST


Jens Axboe wrote:

That's fine and has its place, no doubt about that. It doesn't cover the
patch in this thread though. The check is dead code. It's a cosmetic
problem though, gcc should not generate the code checking for < 0.


I'll fix it when I touch that area again. Probably with the patch that allows constructors to fail, which would be 2.7 stuff. It's not really urgent.

--
Manfred


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/