Add status check returned from crypto_unregister_akcipher function. Signed-off-by: Tadeusz Struk <tadeusz.struk@xxxxxxxxx> --- crypto/rsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/rsa.c b/crypto/rsa.c index 466003e..93feae2 100644 --- a/crypto/rsa.c +++ b/crypto/rsa.c @@ -329,7 +329,7 @@ static int rsa_init(void) static void rsa_exit(void) { - crypto_unregister_akcipher(&rsa); + WARN_ON(crypto_unregister_akcipher(&rsa)); } module_init(rsa_init); -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html