aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/pci-mid.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2021-10-18 11:22:20 -0500
committerEric W. Biederman <[email protected]>2021-10-20 10:45:34 -0500
commit32342701b4ba57a6fd77e8aca2f65f68c0fa1da6 (patch)
tree1c26835ca75bfe43efe4ad4bf88b6bdc15abcd1d /drivers/pci/pci-mid.c
parentda70d3109e74adf6ae9f8d1f6c7c0c9735d314ba (diff)
ucounts: Use atomic_long_sub_return for clarity
Decrement ucounts using atomic_long_sub_return to make it clear the point is for the ucount to decrease. Not a big deal but it should make it easier to catch bugs. Suggested-by: Yu Zhao <[email protected]> Link: https://lkml.kernel.org/r/87k0iaqkqj.fsf_-_@disp2133 Tested-by: Yu Zhao <[email protected]> Reviewed-by: Alexey Gladkov <[email protected]> Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'drivers/pci/pci-mid.c')
0 files changed, 0 insertions, 0 deletions