Re: [PATCH v2] tpm: Add major_version sysfs file

From: Jerry Snitselaar
Date: Mon Oct 28 2019 - 17:05:18 EST


On Mon Oct 28 19, Jarkko Sakkinen wrote:
On Fri, Oct 25, 2019 at 12:31:03PM -0700, Jerry Snitselaar wrote:
+ return sprintf(buf, "%s\n", chip->flags & TPM_CHIP_FLAG_TPM2
+ ? "2.0" : "1.2");

This is not right. Should be either "1" or "2".

/Jarkko

Okay I will fix that up. Do we have a final decision on the file name,
major_version versus version_major?