From: Herbert Xu Date: Thu, 18 Jun 2015 06:00:48 +0000 (+0800) Subject: crypto: api - Add CRYPTO_MINALIGN_ATTR to struct crypto_alg X-Git-Tag: omap-for-v4.2/fixes-rc1^2~164^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edf18b9108f5025f9e83b2c167c9122954acbc62;p=pandora-kernel.git crypto: api - Add CRYPTO_MINALIGN_ATTR to struct crypto_alg The struct crypto_alg is embedded into various type-specific structs such as aead_alg. This is then used as part of instances such as struct aead_instance. It is also embedded into the generic struct crypto_instance. In order to ensure that struct aead_instance can be converted to struct crypto_instance when necessary, we need to ensure that crypto_alg is aligned properly. This patch adds an alignment attribute to struct crypto_alg to ensure this. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed