Re: [PATCH] MAINTAINERS: adjust to trusted keys subsystem creation

From: James Bottomley
Date: Wed Mar 04 2020 - 11:13:17 EST


On Wed, 2020-03-04 at 17:03 +0100, Lukas Bulwahn wrote:
> Commit 47f9c2796891 ("KEYS: trusted: Create trusted keys subsystem")
> renamed trusted.h to trusted_tpm.h in include/keys/, and moved
> trusted.c
> to trusted-keys/trusted_tpm1.c in security/keys/.
>
> Since then, ./scripts/get_maintainer.pl --self-test complains:
>
> warning: no file matches F: security/keys/trusted.c
> warning: no file matches F: include/keys/trusted.h
>
> Rectify the KEYS-TRUSTED entry in MAINTAINERS now.
>
> Co-developed-by: Sebastian Duda <sebastian.duda@xxxxxx>
> Signed-off-by: Sebastian Duda <sebastian.duda@xxxxxx>
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx>
> ---
> Sumit, please ack.
> Jarkko, please pick this patch.
>
> MAINTAINERS | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 5c755e03ddee..cf389058ca76 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -9276,8 +9276,8 @@ L: keyrings@xxxxxxxxxxxxxxx
> S: Supported
> F: Documentation/security/keys/trusted-encrypted.rst
> F: include/keys/trusted-type.h
> -F: security/keys/trusted.c
> -F: include/keys/trusted.h
> +F: include/keys/trusted_tpm.h
> +F: security/keys/trusted-keys/trusted_tpm1.c

Everything under trusted-keys is part of the subsystem, so this should
be a glob not a single file.

James