From: Behan Webster Subject: Re: [dm-devel] [PATCH v3 01/12] crypto: LLVMLinux: Add macro to remove use of VLAIS in crypto code Date: Mon, 15 Sep 2014 01:37:44 -0700 Message-ID: <5416A558.3070109@converseincode.com> References: <1410766234-1634-1-git-send-email-behanw@converseincode.com> <1410766234-1634-2-git-send-email-behanw@converseincode.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: agk@redhat.com, clm@fb.com, David Miller , fabf@skynet.be, Herbert Xu , jbacik@fb.com, snitzer@redhat.com, tadeusz.struk@intel.com, thomas.lendacky@amd.com, linux-ima-user@lists.sourceforge.net, qat-linux@intel.com, d.kasatkin@samsung.com, Bruce Allan , Linux Kernel , john.griffin@intel.com, linux-raid@vger.kernel.org, linux-security-module@vger.kernel.org, linux-crypto@vger.kernel.org, james.l.morris@oracle.com, Linus Torvalds , linux-ima-devel@lists.sourceforge.net, Andrew Morton , zohar@linux.vnet.ibm.com, linux-btrfs@vger.kernel.org, "Serge E. Hallyn" To: =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , device-mapper development Return-path: In-Reply-To: Sender: linux-btrfs-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org On 09/15/14 01:06, Micha=C5=82 Miros=C5=82aw wrote: > 2014-09-15 9:30 GMT+02:00 : > [...] >> +#define SHASH_DESC_ON_STACK(shash, tfm) = \ >> + char __desc[sizeof(struct shash_desc) + \ >> + crypto_shash_descsize(tfm)] CRYPTO_MINALIGN_ATTR; \ >> + struct shash_desc *shash =3D (struct shash_desc *)__desc >> + > char shash##__desc[] or similar? Otherwise it won't work if you use > this macro twice in the same block. > > Best Regards, > Micha=C5=82 Miros=C5=82aw Good thinking. Will fix. Behan --=20 Behan Webster behanw@converseincode.com -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html