Commit d86b057b authored by Yejune Deng's avatar Yejune Deng Committed by Zheng Zengkai
Browse files

crypto: hisilicon/trng - replace atomic_add_return()

mainline inclusion
from mainline-v5.11-rc1
commit a320dc2f
category: bugfix
bugzilla: 173981
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a320dc2ff80b8f93b2b8acf2e3ead8ff5ad0bcff



----------------------------------------------------------------------

a set of atomic_inc_return() looks more neater

Signed-off-by: default avatarYejune Deng <yejune.deng@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarMingqiang Ling <lingmingqiang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 34a84467
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment