Re: [PATCH] crypto: s5p-sss - use unregister_{ahashes,skciphers} in probe/remove
From: Vladimir Zapolskiy
Date: Thu Mar 19 2026 - 16:11:54 EST
On 3/17/26 10:04, Thorsten Blum wrote:
Replace multiple for loops with calls to crypto_unregister_ahashes() and
crypto_unregister_skciphers().
If crypto_register_skcipher() fails in s5p_aes_probe(), log the error
directly instead of checking 'i < ARRAY_SIZE(algs)' later. Also drop
now-unused local index variables. No functional changes.
Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
Reviewed-by: Vladimir Zapolskiy <vz@xxxxxxxxx>
--
Best wishes,
Vladimir