]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: octeontx2 - Use swap() instead of swap_engines()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 16 Dec 2021 07:48:14 +0000 (15:48 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Dec 2021 03:18:22 +0000 (14:18 +1100)
commit42986f9486a513a004c945becf05e1096c9b9113
treee66daf5ea4701300cd2c664014e0a7439e00c46c
parenta4f06f3c59daa193e162f74a7d27af63b20d4118
crypto: octeontx2 - Use swap() instead of swap_engines()

Fix the following coccicheck warning:

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

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c