aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cppc_cpufreq.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-11-08 17:22:27 +0000
committerHerbert Xu <[email protected]>2024-11-15 11:52:51 +0000
commit572b7cf08403b6c67dfe0dc3e0f2efb42443254f (patch)
tree1ff030a115713afed0f47383401ae11d4ce27d09 /drivers/cpufreq/cppc_cpufreq.c
parentcrypto: aesni - Move back to module_init (diff)
downloadkernel-572b7cf08403b6c67dfe0dc3e0f2efb42443254f.tar.gz
kernel-572b7cf08403b6c67dfe0dc3e0f2efb42443254f.zip
crypto: cavium - Fix an error handling path in cpt_ucode_load_fw()
If do_cpt_init() fails, a previous dma_alloc_coherent() call needs to be undone. Add the needed dma_free_coherent() before returning. Fixes: 9e2c7d99941d ("crypto: cavium - Add Support for Octeon-tx CPT Engine") Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/cpufreq/cppc_cpufreq.c')
0 files changed, 0 insertions, 0 deletions