Thread (22 messages) 22 messages, 6 authors, 2014-09-17

Re: [dm-devel] [PATCH v3 01/12] crypto: LLVMLinux: Add macro to remove use of VLAIS in crypto code

From: Behan Webster <hidden>
Date: 2014-09-15 08:37:52
Also in: dm-devel, linux-btrfs, linux-crypto, lkml

On 09/15/14 01:06, Michał Mirosław wrote:
2014-09-15 9:30 GMT+02:00  [off-list ref]:
[...]
quoted
+#define SHASH_DESC_ON_STACK(shash, tfm)                                  \
+       char __desc[sizeof(struct shash_desc) +                   \
+               crypto_shash_descsize(tfm)] CRYPTO_MINALIGN_ATTR; \
+       struct shash_desc *shash = (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ł Mirosław
Good thinking. Will fix.

Behan

-- 
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help