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

From: Felipe Balbi
Date: Wed Oct 31 2012 - 09:34:29 EST


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 instead calculates offsets into the kmalloc-ed
> memory buffer using macros from valign.h.
>
> Signed-off-by: Behan Webster <behanw@xxxxxxxxxxxxxxxxxx>

this won't apply after the current cleanups I applied to gadget code
from Sebastian.

If someone takes this patch, it will generate a series of annoying,
hard-to-figure-out conflicts (at least judging by the looks of
$SUBJECT).

--
balbi

Attachment: signature.asc
Description: Digital signature