]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ABI: sysfs-class-tpm: use wildcards for pcr-* nodes
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 16 Sep 2021 08:59:32 +0000 (10:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Sep 2021 16:31:15 +0000 (18:31 +0200)
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-.*/.*

Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/4ab3fce91ea2bd7c36a07e6c646bf7bd6f4f8634.1631782432.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/stable/sysfs-class-tpm

index d897ecb9615f356338f24c50abc65184c8667cda..411d5895bed4906f0b66d5ff829454d26853d9d0 100644 (file)
@@ -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@vger.kernel.org