diff options
author | James Morris <jmorris@namei.org> | 2008-12-29 14:35:35 +1100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2009-01-01 10:32:44 +1100 |
commit | 90bd49ab6649269cd10d0edc86d0e0f62864726a (patch) | |
tree | 504e95359f2e021ae1ba4c53a1000dd08ad63c55 /net/atm | |
parent | 6a94cb73064c952255336cc57731904174b2c58f (diff) | |
download | linux-90bd49ab6649269cd10d0edc86d0e0f62864726a.tar.bz2 |
keys: fix sparse warning by adding __user annotation to cast
Fix the following sparse warning:
CC security/keys/key.o
security/keys/keyctl.c:1297:10: warning: incorrect type in argument 2 (different address spaces)
security/keys/keyctl.c:1297:10: expected char [noderef] <asn:1>*buffer
security/keys/keyctl.c:1297:10: got char *<noident>
which appears to be caused by lack of __user annotation to the cast of
a syscall argument.
Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions