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

2012-10-31 Thread Behan Webster
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 changed

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

2012-10-31 Thread Behan Webster
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(-) diff

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

2012-10-31 Thread Behan Webster
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 dl...@gmx.de Cc: pagee...@freemail.hu Signed-off-by: Behan Webster beh...@converseincode.com --- crypto/hmac.c | 27 +-- 1 file

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

2012-10-31 Thread Behan Webster
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 dl...@gmx.de Cc: pagee...@freemail.hu [Use shash_desc_ctx() to calculate address of ctx] Signed-off-by: Behan Webster beh...@converseincode.com --- crypto

[PATCH V2] Remove VLAIS usage from libcrc32c.c

2012-10-31 Thread Behan Webster
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 dl...@gmx.de Cc: pagee...@freemail.hu [Use shash_desc_ctx() to calculate address of ctx] Signed-off-by: Behan Webster beh...@converseincode.com --- lib

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

2012-10-31 Thread Behan Webster
On 12-10-31 09:28 AM, Felipe Balbi wrote: hi, On Tue, Oct 30, 2012 at 05:18:56PM -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 patch

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

2012-10-30 Thread Behan Webster
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/valign.h

[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: Behan

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

2012-10-30 Thread Behan Webster
. 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 | 40

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

2012-10-30 Thread Behan Webster
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 used

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 file

[PATCH] Remove VLAIS usage from libcrc32c.c

2012-10-30 Thread Behan Webster
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 --git

[PATCH 2/2] Remove VLAIS usage from netfilter

2012-10-30 Thread Behan Webster
. 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 | 40

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

2012-10-30 Thread Behan Webster
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/valign.h

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

2012-10-30 Thread Behan Webster
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öller

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

2012-10-30 Thread Behan Webster
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(-) diff

[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

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

2012-10-30 Thread Behan Webster
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(-) diff

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

2012-10-30 Thread Behan Webster
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/valign.h

[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: Behan

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

2012-10-30 Thread Behan Webster
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 VLAIS

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

2012-10-30 Thread Behan Webster
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 VLAIS

[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: Behan

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

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

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

2012-10-30 Thread Behan Webster
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 dl...@gmx.de Cc: pagee...@freemail.hu Signed-off-by: Behan Webster beh...@converseincode.com --- crypto/testmgr.c | 23 +-- 1 file

[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

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

2012-10-30 Thread Behan Webster
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 dl...@gmx.de Cc: pagee...@freemail.hu Signed-off-by: Behan Webster beh...@converseincode.com --- crypto/hmac.c | 27 +-- 1 file

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

2012-10-30 Thread Behan Webster
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öller

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

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

[PATCH 2/2] Remove VLAIS usage from netfilter

2012-10-30 Thread Behan Webster
valign.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 dl...@gmx.de Cc: pagee...@freemail.hu [Modified to use macros from valign.h] Signed-off-by: Behan Webster beh...@converseincode.com --- net

[PATCH] Remove VLAIS usage from libcrc32c.c

2012-10-30 Thread Behan Webster
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 dl...@gmx.de Cc: pagee...@freemail.hu Signed-off-by: Behan Webster beh...@converseincode.com --- lib/libcrc32c.c | 19 ++- 1 file changed

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 file

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

2012-10-30 Thread Behan Webster
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 used

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

2012-10-30 Thread Behan Webster
valign.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 dl...@gmx.de Cc: pagee...@freemail.hu [Modified to use macros from valign.h] Signed-off-by: Behan Webster beh...@converseincode.com --- net

[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: Behan

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

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

<    1   2   3