summaryrefslogtreecommitdiff
path: root/include/linux/magic.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-08-08 11:33:23 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-08 11:33:23 -0700
commit638a8439096c582bdb523fcea9d875d3e1fed38a (patch)
tree096f759911f2b3346e30c5ddba61537b1ef42c28 /include/linux/magic.h
parent27e4e4362756a78b15e83ef104c8bbe257f40f90 (diff)
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: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/magic.h')
0 files changed, 0 insertions, 0 deletions