diff options
author | 2021-11-02 15:48:37 -0700 | |
---|---|---|
committer | 2021-11-02 15:48:37 -0700 | |
commit | 33fb42636a938be01d951b4cee68127a59a1e7e4 (patch) | |
tree | 20cd486a1cf4fd6841af951aef87758108c92612 /drivers/fpga/fpga-mgr.c | |
parent | Merge branch 'for-5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup (diff) | |
parent | ucounts: Use atomic_long_sub_return for clarity (diff) | |
download | linux-dev-33fb42636a938be01d951b4cee68127a59a1e7e4.tar.xz linux-dev-33fb42636a938be01d951b4cee68127a59a1e7e4.zip |
Merge branch 'ucount-fixes-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
Pull ucount cleanups from Eric Biederman:
"While working on the ucount fixes a for v5.15 a number of cleanups
suggested themselves.
Little things like not testing for NULL when a pointer can not be NULL
and wrapping atomic_add_negative with a more descriptive name, so that
people reading the code can more quickly understand what is going on"
* 'ucount-fixes-for-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace:
ucounts: Use atomic_long_sub_return for clarity
ucounts: Add get_ucounts_or_wrap for clarity
ucounts: Remove unnecessary test for NULL ucount in get_ucounts
ucounts: In set_cred_ucounts assume new->ucounts is non-NULL
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions