Re: 2.6.23-rc8-mm1

From: Randy Dunlap
Date: Tue Sep 25 2007 - 13:27:44 EST


On Tue, 25 Sep 2007 01:46:25 -0700 Andrew Morton wrote:

>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc8/2.6.23-rc8-mm1/
>
> - Various fixes against 2.6.23-rc7-mm1.
>
>
> git-unionfs.patch

in unionfs debug.c:

#if BITS_PER_LONG == 32
#define POISONED_PTR ((void*) 0x5a5a5a5a)
#elif BITS_PER_LONG == 64
#define POISONED_PTR ((void*) 0x5a5a5a5a5a5a5a5a)
#else
#error Unknown BITS_PER_LONG value
#endif /* BITS_PER_LONG != known */


We try to keep all poison values in include/linux/poison.h so that
when digging around for them, it's easier to locate the one in
question.

Also, on x86_64, the 64-bit version wants a L or UL suffix:

fs/unionfs/debug.c:96:30: warning: constant 0x5a5a5a5a5a5a5a5a is so big it is long
fs/unionfs/debug.c:264:30: warning: constant 0x5a5a5a5a5a5a5a5a is so big it is long

---
~Randy
Phaedrus says that Quality is about caring.
-
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/