[PATCH v15 31/35] crypto: amlogic: clear algorithm pointers on unregister
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Wed Dec 2 03:04:21 PST 2026
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] crypto: amlogic: missing Fixes: trailer on bug-fix commit
--
commit 7b82add5b4dfd3f7bfbe49f7b05e90dedc47959c
Author: Jose Nieto <jnieto.alaber at gmail.com>
> crypto: amlogic: clear algorithm pointers on unregister
>
> meson_unregister_algs() left algs[i].mc set after unregistering. As the
> algorithm templates are static, a later (re-)probe that fails partway
> through meson_register_algs() could unregister entries that were never
> registered, hitting a WARN_ON() in crypto_unregister_alg(). Clear
> algs[i].mc once the algorithm is unregistered.
>
> Signed-off-by: Jose Nieto <jnieto.alaber at gmail.com>
[Severity: Low]
This fixes a bug present since the driver was added. Should it include:
Fixes: 48fe583fe541 ("crypto: amlogic - Add crypto accelerator for amlogic GXL")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261202100714.115460-1-jnieto.alaber@gmail.com?part=31
More information about the linux-amlogic
mailing list