diff options
| author | Vincenzo Frascino <[email protected]> | 2022-09-07 12:12:30 +0000 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2022-10-04 21:25:56 +0000 |
| commit | 72e9be6be9c08d882f94f80c7cf1b27f0896213d (patch) | |
| tree | b819a75ef35b1237c03d306f75557bcb0088a072 /scripts/clang-tools/run-clang-tools.py | |
| parent | char: move from strlcpy with unused retval to strscpy (diff) | |
| download | kernel-72e9be6be9c08d882f94f80c7cf1b27f0896213d.tar.gz kernel-72e9be6be9c08d882f94f80c7cf1b27f0896213d.zip | |
security/keys: Remove inconsistent __user annotation
The declaration of keyring_read does not match the definition
(security/keys/keyring.c). In this case the definition is correct
because it matches what defined in "struct key_type::read"
(linux/key-type.h).
Fix the declaration removing the inconsistent __user annotation.
Cc: David Howells <[email protected]>
Cc: Jarkko Sakkinen <[email protected]>
Cc: Paul Moore <[email protected]>
Cc: James Morris <[email protected]>
Signed-off-by: Vincenzo Frascino <[email protected]>
Reviewed-by: Paul Moore <[email protected]>
Acked-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'scripts/clang-tools/run-clang-tools.py')
0 files changed, 0 insertions, 0 deletions
