The patch titled fix "core, x86: make LIST_POISON less deadly" has been added to the -mm tree. Its filename is fix-core-x86-make-list_poison-less-deadly.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: fix "core, x86: make LIST_POISON less deadly" From: Jaswinder Singh Rajput <jaswinder@xxxxxxxxxxxxx> Impact: cleanup, avoid 10000+ sparse warnings Eliminate 1434 sparse warnings like: include/linux/list.h:106:16: warning: constant 0xdead000000000000 is so big it is unsigned long Eliminate 1434 sparse warnings like: include/linux/list.h:107:16: warning: constant 0xdead000000000000 is so big it is unsigned long Eliminate 1434 sparse warnings like: include/linux/list.h:579:12: warning: constant 0xdead000000000000 is so big it is unsigned long Eliminate 1434 sparse warnings like: include/linux/list.h:580:13: warning: constant 0xdead000000000000 is so big it is unsigned long Eliminate 1237 sparse warnings like: include/linux/rculist.h:97:16: warning: constant 0xdead000000000000 is so big it is unsigned long Eliminate 1237 sparse warnings like: include/linux/rculist.h:143:14: warning: constant 0xdead000000000000 is so big it is unsigned long Eliminate 1237 sparse warnings like: include/linux/rculist.h:260:13: warning: constant 0xdead000000000000 is so big it is unsigned long Eliminate 1237 sparse warnings like: include/linux/rculist.h:280:15: warning: constant 0xdead000000000000 is so big it is unsigned long Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@xxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Avi Kivity <avi@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/poison.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/poison.h~fix-core-x86-make-list_poison-less-deadly include/linux/poison.h --- a/include/linux/poison.h~fix-core-x86-make-list_poison-less-deadly +++ a/include/linux/poison.h @@ -9,7 +9,7 @@ * that is also not mappable by user-space exploits: */ #ifdef CONFIG_ILLEGAL_POINTER_VALUE -# define POISON_POINTER_DELTA CONFIG_ILLEGAL_POINTER_VALUE +# define POISON_POINTER_DELTA _AC(CONFIG_ILLEGAL_POINTER_VALUE, UL) #else # define POISON_POINTER_DELTA 0 #endif _ Patches currently in -mm which might be from jaswinder@xxxxxxxxxxxxx are linux-next.patch fix-core-x86-make-list_poison-less-deadly.patch make-firmware-dsp56k-bootstrapasm-buildable-on-a56.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html