lkml.org 
[lkml]   [2012]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] Helper macros used for replacing the use of VLAIS
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 contains macros which can be used to
> calculate the size and offset of variables in an allocated buffer of memory
> taking into account alignment issues.
>
> Signed-off-by: Behan Webster <behanw@converseincode.com>
> ---
> include/linux/valign.h | 87 ++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 87 insertions(+)
> create mode 100644 include/linux/valign.h

You sent the same patch here, to two different trees (usb and
networking). That's not good, what happens if they both apply them?

thanks,

greg k-h


\
 
 \ /
  Last update: 2012-11-01 22:21    [W:1.027 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site