aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorXiyu Yang <[email protected]>2021-07-17 18:17:22 +0800
committerGreg Kroah-Hartman <[email protected]>2021-07-21 13:50:54 +0200
commit03acb0c5ac46b1aa5f3015f1e01243aff9e08600 (patch)
tree51b622e23f85de72a0f97ce3f4947a6b249fb0a5 /include/linux/fpga/fpga-mgr.h
parent07e913418ce4ba5eb620dd4668bf91ec94e11136 (diff)
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 <[email protected]> Signed-off-by: Xiyu Yang <[email protected]> Signed-off-by: Xin Tan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions