Searched hist:"72 e9be6be9c08d882f94f80c7cf1b27f0896213d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/keys/ |
H A D | keyring.c | diff 72e9be6be9c08d882f94f80c7cf1b27f0896213d Wed Sep 07 07:12:30 CDT 2022 Vincenzo Frascino <vincenzo.frascino@arm.com> 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 <dhowells@redhat.com> Cc: Jarkko Sakkinen <jarkko@kernel.org> Cc: Paul Moore <paul@paul-moore.com> Cc: James Morris <jmorris@namei.org> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Reviewed-by: Paul Moore <paul@paul-moore.com> Acked-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
|