From: Herbert Xu Date: Sat, 23 May 2015 07:41:53 +0000 (+0800) Subject: crypto: aead - Do not set cra_type for new style instances X-Git-Tag: omap-for-v4.3/legacy-v2-signed~193^2~144 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1ee1f02b7a207e757cbd78a9865a69234a0d867;p=pandora-kernel.git crypto: aead - Do not set cra_type for new style instances The function aead_geniv_alloc currently sets cra_type even for new style instances. This is unnecessary and may hide bugs such as when our caller uses crypto_register_instance instead of the correct aead_register_instance. Signed-off-by: Herbert Xu --- Reading git-diff-tree failed