From: Behan Webster <behanw@converseincode.com>
To: balbi@ti.com
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Behan Webster <behanw@converseincode.com>
Subject: [PATCH 0/2] Removing the use of VLAIS from the Linux Kernel
Date: Tue, 30 Oct 2012 14:25:18 -0400 [thread overview]
Message-ID: <1351621520-17768-1-git-send-email-behanw@converseincode.com> (raw)
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 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 usage from gadget code
drivers/usb/gadget/f_fs.c | 106 ++++++++++++++++++++++++++-------------------
include/linux/valign.h | 87 +++++++++++++++++++++++++++++++++++++
2 files changed, 148 insertions(+), 45 deletions(-)
create mode 100644 include/linux/valign.h
--
1.7.9.5
next reply other threads:[~2012-10-30 18:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-30 18:25 Behan Webster [this message]
2012-10-30 18:25 ` [PATCH 1/2] Helper macros used for replacing the use of VLAIS Behan Webster
2012-10-30 19:20 ` Greg KH
2012-10-30 19:35 ` Behan Webster
2012-10-30 19:40 ` Greg KH
2012-10-30 18:25 ` [PATCH 2/2] Remove VLAIS usage from gadget code Behan Webster
2012-11-01 15:38 ` Joseph Glanville
2012-10-30 18:37 [PATCH 0/2] Removing the use of VLAIS from the Linux Kernel Behan Webster
2012-10-31 16:41 ` David Miller
2012-11-01 0:41 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1351621520-17768-1-git-send-email-behanw@converseincode.com \
--to=behanw@converseincode.com \
--cc=balbi@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome