Re: [PATCH v3 05/30] ABI: sysfs-class-tpm: use wildcards for pcr-* nodes

From: Jarkko Sakkinen
Date: Thu Sep 16 2021 - 11:59:29 EST


On Thu, 2021-09-16 at 10:59 +0200, Mauro Carvalho Chehab wrote:
> Change how this expression is defined:
>
> /sys/class/tpm/tpmX/pcr-H/N
>
> in order to allow get_abi.pl to convert it into this regex:
>
> /sys/class/tpm/tpmX/pcr-.*/.*
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
> ---
> Documentation/ABI/stable/sysfs-class-tpm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/ABI/stable/sysfs-class-tpm b/Documentation/ABI/stable/sysfs-class-tpm
> index d897ecb9615f..411d5895bed4 100644
> --- a/Documentation/ABI/stable/sysfs-class-tpm
> +++ b/Documentation/ABI/stable/sysfs-class-tpm
> @@ -195,7 +195,7 @@ Description: The "tpm_version_major" property shows the TCG spec major version
>
> 2
>
> -What: /sys/class/tpm/tpmX/pcr-H/N
> +What: /sys/class/tpm/tpmX/pcr-<H>/<N>
> Date: March 2021
> KernelVersion: 5.12
> Contact: linux-integrity@xxxxxxxxxxxxxxx


Reviewed-by: Jarkko Sakkinen <jarkko@xxxxxxxxxx>

/Jarkko