X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=crypto%2Fpcbc.c;h=f654965f09338dab066795d8c6ab8618ef263d93;hb=bc230ada485b9bcd42bfe17b8010ecfa21ed526b;hp=fe704775f88ff0fa526a197201c1a751a8535611;hpb=7556afa0e0e436cad4f560ee83e5fbd5dac9359a;p=pandora-kernel.git diff --git a/crypto/pcbc.c b/crypto/pcbc.c index fe704775f88f..f654965f0933 100644 --- a/crypto/pcbc.c +++ b/crypto/pcbc.c @@ -234,7 +234,7 @@ static struct crypto_instance *crypto_pcbc_alloc(struct rtattr **tb) alg = crypto_get_attr_alg(tb, CRYPTO_ALG_TYPE_CIPHER, CRYPTO_ALG_TYPE_MASK); if (IS_ERR(alg)) - return ERR_PTR(PTR_ERR(alg)); + return ERR_CAST(alg); inst = crypto_alloc_instance("pcbc", alg); if (IS_ERR(inst)) @@ -295,3 +295,4 @@ module_exit(crypto_pcbc_module_exit); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("PCBC block cipher algorithm"); +MODULE_ALIAS_CRYPTO("pcbc");