diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2019-03-01 14:30:26 +0300 |
---|---|---|
committer | James Morris <james.morris@microsoft.com> | 2019-03-05 02:48:37 +0300 |
commit | 468e91cecb3218afd684b8c422490dfebe0691bb (patch) | |
tree | 17a1a327d558226259891e303dd3b8c518501818 /fs/proc/base.c | |
parent | b102c11e1a10e1328c9610665e45dd07bf4a3696 (diff) | |
download | linux-468e91cecb3218afd684b8c422490dfebe0691bb.tar.xz |
keys: fix missing __user in KEYCTL_PKEY_QUERY
The arg5 of KEYCTL_PKEY_QUERY should have a __user pointer tag on
it as it is a user pointer. This clears the following sparse warning
for this:
security/keys/keyctl.c:1755:43: warning: incorrect type in argument 3 (different address spaces)
security/keys/keyctl.c:1755:43: expected struct keyctl_pkey_query [noderef] <asn:1>*<noident>
security/keys/keyctl.c:1755:43: got struct keyctl_pkey_query *<noident>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Acked-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: James Morris <james.morris@microsoft.com>
Diffstat (limited to 'fs/proc/base.c')
0 files changed, 0 insertions, 0 deletions