lkml.org 
[lkml]   [2019]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] tpm: Add major_version sysfs file
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

\
 
 \ /
  Last update: 2019-10-28 21:54    [W:0.241 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site