diff options
author | Xiyu Yang <xiyuyang19@fudan.edu.cn> | 2021-07-17 12:17:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-21 13:50:54 +0200 |
commit | 03acb0c5ac46b1aa5f3015f1e01243aff9e08600 (patch) | |
tree | 51b622e23f85de72a0f97ce3f4947a6b249fb0a5 /drivers/bus/fsl-mc | |
parent | selftests/binderfs: add test for feature files (diff) | |
download | linux-03acb0c5ac46b1aa5f3015f1e01243aff9e08600.tar.xz linux-03acb0c5ac46b1aa5f3015f1e01243aff9e08600.zip |
misc: sgi-gru: Convert from atomic_t to refcount_t on gru_thread_state->ts_refcnt
refcount_t type and corresponding API can protect refcounters from
accidental underflow and overflow and further use-after-free situations.
Acked-by: Dimitri Sivanich <sivanich@hpe.com>
Signed-off-by: Xiyu Yang <xiyuyang19@fudan.edu.cn>
Signed-off-by: Xin Tan <tanxin.ctf@gmail.com>
Link: https://lore.kernel.org/r/1626517043-42696-1-git-send-email-xiyuyang19@fudan.edu.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/bus/fsl-mc')
0 files changed, 0 insertions, 0 deletions