Skip to content
Commit 638a8439 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

cred: use 'const' in get_current_{user,groups}



Avoid annoying warnings from these functions ("discards qualifiers")
because they assign 'current_cred()' to a non-const pointer.

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 27e4e436
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment