[PATCH V2] Remove VLAIS usage from libcrc32c.c

2012-10-31 Thread Behan Webster
eries at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html by PaX Team. Signed-off-by: Jan-Simon Möller Cc: pagee...@freemail.hu [Use shash_desc_ctx() to calculate address of ctx] Signed-off-by: Behan Webster --- lib/libcrc32c.c | 18 +- 1 file ch

[PATCH V2 2/2] Remove VLAIS usage from crypto/testmgr.c

2012-10-31 Thread Behan Webster
eries at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html by PaX Team. Signed-off-by: Jan-Simon Möller Cc: pagee...@freemail.hu [Use shash_desc_ctx() to calculate address of ctx] Signed-off-by: Behan Webster --- crypto/testmgr.c | 17 + 1 file ch

[PATCH V2 1/2] Remove VLAIS usage from crypto/hmac.c

2012-10-31 Thread Behan Webster
eries at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html by PaX Team. Signed-off-by: Jan-Simon Möller Cc: pagee...@freemail.hu Signed-off-by: Behan Webster --- crypto/hmac.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-)

[PATCH V2 1/3] Helper macros used for replacing the use of VLAIS

2012-10-30 Thread Behan Webster
er of memory taking into account alignment issues. Signed-off-by: Behan Webster --- include/linux/valign.h | 87 1 file changed, 87 insertions(+) create mode 100644 include/linux/valign.h diff --git a/include/linux/valign.h b/include/linux/val

[PATCH V2 2/3] Remove VLAIS usage from gadget code

2012-10-30 Thread Behan Webster
The use of variable length arrays in structs (VLAIS) in the Linux Kernel code precludes the use of compilers which don't implement VLAIS (for instance the Clang compiler). This patch instead calculates offsets into the kmalloc-ed memory buffer using macros from valign.h. Signed-off-by:

[PATCH V2 3/3] Remove VLAIS usage from netfilter

2012-10-30 Thread Behan Webster
ign.h. Patch from series at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html by PaX Team. Signed-off-by: Jan-Simon Möller Cc: pagee...@freemail.hu [Modified to use macros from valign.h] Signed-off-by: Behan Webster --- net/netfilter/xt_repldata.h |

[PATCH V2 0/3] Removing the use of VLAIS from USB Gadget and netfilter

2012-10-30 Thread Behan Webster
ce of using the Clang compiler toolchain. This is a part of a series of patches which remove the use of VLAIS from crypto code, dm-crypt, jbd2, libcrc32c, netfilter, and usb gadget. Other patches to allow Clang to be used to compile the Linux kernel will follow. Behan Webster (2): Helper macros use

Re: [PATCH 1/2] Helper macros used for replacing the use of VLAIS

2012-10-30 Thread Behan Webster
On 12-10-30 03:20 PM, Greg KH wrote: On Tue, Oct 30, 2012 at 02:25:19PM -0400, Behan Webster wrote: The use of variable length arrays in structs (VLAIS) in the Linux Kernel code precludes the use of compilers which don't implement VLAIS (for instance the Clang compiler). This new header

[PATCH] Remove VLAIS usage from libcrc32c.c

2012-10-30 Thread Behan Webster
eries at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html by PaX Team. Signed-off-by: Jan-Simon Möller Cc: pagee...@freemail.hu Signed-off-by: Behan Webster --- lib/libcrc32c.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --

[PATCH 2/2] Remove VLAIS usage from netfilter

2012-10-30 Thread Behan Webster
ign.h. Patch from series at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html by PaX Team. Signed-off-by: Jan-Simon Möller Cc: pagee...@freemail.hu [Modified to use macros from valign.h] Signed-off-by: Behan Webster --- net/netfilter/xt_repldata.h |

[PATCH 1/2] Helper macros used for replacing the use of VLAIS

2012-10-30 Thread Behan Webster
er of memory taking into account alignment issues. Signed-off-by: Behan Webster --- include/linux/valign.h | 87 1 file changed, 87 insertions(+) create mode 100644 include/linux/valign.h diff --git a/include/linux/valign.h b/include/linux/val

[PATCH 0/2] Removing the use of VLAIS from netfilter

2012-10-30 Thread Behan Webster
Clang compiler toolchain. This is a part of a series of patches which remove the use of VLAIS from crypto code, dm-crypt, jbd2, libcrc32c, netfilter, and usb gadget. Other patches to allow Clang to be used will follow. Behan Webster (1): Helper macros used for replacing the use of VLAIS Jan-Simon M

[PATCH 1/2] Remove VLAIS usage from crypto/hmac.c

2012-10-30 Thread Behan Webster
eries at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html by PaX Team. Signed-off-by: Jan-Simon Möller Cc: pagee...@freemail.hu Signed-off-by: Behan Webster --- crypto/hmac.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-)

[PATCH 0/2] Removing the use of VLAIS from the Linux Kernel

2012-10-30 Thread Behan Webster
The use of variable length arrays in structs (VLAIS) in the Linux Kernel code precludes the use of compilers which don't implement VLAIS (for instance the Clang compiler). The LLVMLinux Project is working towards the ability of providing the Linux kernel developer the choice of using the Clang comp

[PATCH 2/2] Remove VLAIS usage from crypto/testmgr.c

2012-10-30 Thread Behan Webster
eries at http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html by PaX Team. Signed-off-by: Jan-Simon Möller Cc: pagee...@freemail.hu Signed-off-by: Behan Webster --- crypto/testmgr.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-)

[PATCH 1/2] Helper macros used for replacing the use of VLAIS

2012-10-30 Thread Behan Webster
er of memory taking into account alignment issues. Signed-off-by: Behan Webster --- include/linux/valign.h | 87 1 file changed, 87 insertions(+) create mode 100644 include/linux/valign.h diff --git a/include/linux/valign.h b/include/linux/val

[PATCH 2/2] Remove VLAIS usage from gadget code

2012-10-30 Thread Behan Webster
The use of variable length arrays in structs (VLAIS) in the Linux Kernel code precludes the use of compilers which don't implement VLAIS (for instance the Clang compiler). This patch instead calculates offsets into the kmalloc-ed memory buffer using macros from valign.h. Signed-off-by:

[PATCH 0/2] Removing the use of VLAIS from the Linux Kernel

2012-10-30 Thread Behan Webster
Clang compiler toolchain. This is a part of a series of patches which remove the use of VLAIS from crypto code, dm-crypt, jbd2, libcrc32c, netfilter, and usb gadget. Other patches to allow Clang to be used will follow. Behan Webster (2): Helper macros used for replacing the use of VLAIS Remove

<    1   2