Re: [PATCH v2 2/2] staging: skein: Add Loadable Module Support

From: Dan Carpenter
Date: Thu Oct 23 2014 - 08:34:17 EST


On Wed, Oct 22, 2014 at 09:24:37PM -0500, Eric Rost wrote:
> +static int __init skein_generic_mod_init(void)
> +{
> + return crypto_register_shash(&alg256) || crypto_register_shash(&alg512)
> + || crypto_register_shash(&alg1024);

Shouldn't it unwind on error?

> +}

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/