The patch titled PTR_ALIGN has been added to the -mm tree. Its filename is ptr_align.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: PTR_ALIGN From: Matthew Wilcox <matthew@xxxxxx> The AdvanSys driver wants to align some pointers, and the ALIGN macro doesn't work for pointers. Rather than try to make it work, add a new PTR_ALIGN macro which is typesafe. Signed-off-by: Matthew Wilcox <matthew@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/kernel.h | 1 + 1 file changed, 1 insertion(+) diff -puN include/linux/kernel.h~ptr_align include/linux/kernel.h --- a/include/linux/kernel.h~ptr_align +++ a/include/linux/kernel.h @@ -34,6 +34,7 @@ extern const char linux_proc_banner[]; #define ALIGN(x,a) __ALIGN_MASK(x,(typeof(x))(a)-1) #define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask)) +#define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) _ Patches currently in -mm which might be from matthew@xxxxxx are fix-dac960-driver-on-machines-which-dont-support-64-bit-dma.patch ptr_align.patch git-scsi-misc.patch drivers-scsi-advansysc-ld-error-re-2623-rc3-mm1.patch make-sure-nobodys-leaking-resources.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