From: Dan Carpenter Date: Wed, 24 Mar 2010 13:35:23 +0000 (+0800) Subject: crypto: pcrypt - Handle crypto_get_attr_type errors X-Git-Tag: v2.6.35-rc1~446^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80a6d7db9fa06c29c89ccce0374870ac64a81d3f;p=pandora-kernel.git crypto: pcrypt - Handle crypto_get_attr_type errors I was concerned about the error handling for crypto_get_attr_type() in pcrypt_alloc_aead(). Steffen Klassert pointed out that we could simply avoid calling crypto_get_attr_type() if we passed the type and mask as a parameters. Signed-off-by: Dan Carpenter Acked-by: Steffen Klassert Signed-off-by: Herbert Xu --- Reading git-diff-tree failed