aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/pci-mid.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2021-10-16 14:05:34 -0500
committerEric W. Biederman <[email protected]>2021-10-20 10:45:34 -0500
commitda70d3109e74adf6ae9f8d1f6c7c0c9735d314ba (patch)
treedd7eb1eef0114f31f39de85906ad9ebae955fe37 /drivers/pci/pci-mid.c
parent5fc9e37cd5ae762b856912cdedb226a884b3c3e0 (diff)
ucounts: Add get_ucounts_or_wrap for clarity
Add a helper function get_ucounts_or_wrap that is a trivial wrapper around atomic_add_negative, that makes it clear how atomic_add_negative is used in the context of ucounts. Link: https://lkml.kernel.org/r/87pms2qkr9.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