Skip to content
Commit 439745a9 authored by Jiapeng Chong's avatar Jiapeng Chong Committed by Wenlin Kang
Browse files

crypto: octeontx2 - Use swap() instead of swap_engines()



commit 0aa25801a238fb47c4f1ac17b33612f71fca695c from
git@git.assembla.com:cavium/WindRiver.linux.git

Fix the following coccicheck warning:

./drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c:1523:16-17:
WARNING opportunity for swap().

Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Change-Id: I5105a97856339061d0f3f49215207bc4bf0f5b36
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/90416


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarNithin Kumar Dabilpuram <ndabilpuram@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarWenlin Kang <wenlin.kang@windriver.com>
parent db91c5d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment