mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
drivers/staging/gasket: Use refcount_read()
Use the refcount_read accessor function, avoid reaching into refcount and atomic struct fields. Signed-off-by: Todd Poynor <toddpoynor@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4031e6ca35
commit
4cc4dbbc09
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue