Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3980327ybg; Mon, 28 Oct 2019 23:52:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqysf+CWi22XLBbBPcKFfWiOcTPbz2SbizJ4uR2sX5DQ7bOmFHgpUILqX+NRPMTxpdpIKqx6 X-Received: by 2002:a17:906:1f44:: with SMTP id d4mr1675420ejk.16.1572331930414; Mon, 28 Oct 2019 23:52:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572331930; cv=none; d=google.com; s=arc-20160816; b=M3cF61gQR/hmWY7oQN0sfmFHBB/dP/mWyQCvVQnRq4bLK5KBH+wuwmFkN2oXd+D/xx xhgGSx4IC1NKMvRU0m/SFa2Rv9TihJhFJQgaV7PSqGe45zAdFAhgDNt+ve7dhUX5e611 R6rYHS7tGLKEmDBNv/gWRLpdx39jhLz9czo4CusOwO587FbDsoEh81Try32nSs90ZIiB 6igixGtByD1wD3X/3Dd836h7j5ema4peO3S3cploBkOEKLt/a+mJ/f2NQFM4nNKhBSuN C+nB3aHjpmPcAWSVGtSs/hq98iDNVprFlOSuVzSNgYzGddz7Y2TqJ4BddrmiyzJwK7WZ hrIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:user-agent:in-reply-to:mime-version :references:mail-followup-to:reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=TxKlhPKEe4Eb/axUY+ph5O+S3W8S8DEGprY2128AzI4=; b=bhOtkzgsQdSIAdjHczTketCwbcfKSRiKjbko+7UfqHFizY+gI9wJcxBRjaDfQ8vSxx zpNltZbOc8kZVdOdz6eBVN3U0FhZwzBNB5wxkNyPeENKSxo4AqYUTDX31FfwwVHkHUok f1HeY/8tX49SPct4bVeUDXn64+7mQF/ZnAKswWguYwmhT0/Zry71b5/yFRqu5mKmzbXW OYHGRx6xESmwOCUUT4GUqAWJTBG+vyfjV7Rh+p/RpYJ295kVrCQ4E8OkztnxEtrPuXkS y6DBhsoV7Om3c0cpy7rMGN04x3hOfg8bn30PwjtJqXh7eO2/qcIF4FN7b4GU4s1ez3Wt sCpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KyY7wqnh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q24si7121835ejr.128.2019.10.28.23.51.46; Mon, 28 Oct 2019 23:52:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KyY7wqnh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389223AbfJ1VFQ (ORCPT + 99 others); Mon, 28 Oct 2019 17:05:16 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:50578 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389188AbfJ1VFQ (ORCPT ); Mon, 28 Oct 2019 17:05:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1572296715; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TxKlhPKEe4Eb/axUY+ph5O+S3W8S8DEGprY2128AzI4=; b=KyY7wqnhtiQ1muYynpu2Ss5D16X0yfQKIj27lzgcBCRKGAffq04yM6RX33QacpUDYLmo1y CLp3e5WE4H9r7olX626IBnGg9quQEzD39YWAbmwx1LgddBSLHygjssTQSImPwvn/Ye8x9w mhCtNLLWhLoUhovEic1iq9F/n5kAtl8= Received: from mail-yw1-f71.google.com (mail-yw1-f71.google.com [209.85.161.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-342-i_rBb6VSM0e9RW7K8-ksqQ-1; Mon, 28 Oct 2019 17:05:10 -0400 Received: by mail-yw1-f71.google.com with SMTP id u131so8405092ywa.1 for ; Mon, 28 Oct 2019 14:05:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=yf4+zj7RNOPk8CerubFQ1G5hNP+VaWNT7LPoqLWZ0Gk=; b=nhNfiOpKOcpY7UsYsVx2Q0jUYxRs0fj+HhxYZb8HCO2rCLoqDhzGwW2uNbvbhFxwax 7QmEtPm4Gz1ZEtzzAk0GPLGA8o5QbW1dJCeIcrRuytPXun+9oMvH/Epeywkz5+6/roZJ A1EHOaMLvKO+ydVchXOWOYTvXx8pxrB98LaRtbTn+euchRHsXyjOIRHxFaX3WpnLP17A jH8airSQDfjvD5eKgXII+oYzqJFpgy5igWwA5P9jrdX6wXrlFYdvUbS8WTHyQedpeNw0 vjYqNFB0NM6HdrlNwepfOTXeyU5lGMQWd41M3GC6WHZkIPdGMlVKuhTzexSu3+nhLtmU ik+A== X-Gm-Message-State: APjAAAUbUyr/bj0p3qZthKAXgUkJ7gqDWzwSZB1Q9WlxPwOQP2GWzDLh qaJeg4OB2jgH3+NPRhL628s/h5dx2eCSTkmsoYwEC+YOMXZ8JOaGQxLNdnkJAEy2barAh2dgCGg LC2hoXL0GKtvceKxG/yZXhm3s X-Received: by 2002:a25:49c7:: with SMTP id w190mr15832737yba.140.1572296709841; Mon, 28 Oct 2019 14:05:09 -0700 (PDT) X-Received: by 2002:a25:49c7:: with SMTP id w190mr15832711yba.140.1572296709459; Mon, 28 Oct 2019 14:05:09 -0700 (PDT) Received: from localhost (ip70-163-223-149.ph.ph.cox.net. [70.163.223.149]) by smtp.gmail.com with ESMTPSA id j3sm9425112ywb.10.2019.10.28.14.05.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Oct 2019 14:05:08 -0700 (PDT) Date: Mon, 28 Oct 2019 14:05:07 -0700 From: Jerry Snitselaar To: Jarkko Sakkinen Cc: linux-kernel@vger.kernel.org, Peter Huewe , Jason Gunthorpe , linux-integrity@vger.kernel.org Subject: Re: [PATCH v2] tpm: Add major_version sysfs file Message-ID: <20191028210507.7i6d6b5olw72shm3@cantor> Reply-To: Jerry Snitselaar Mail-Followup-To: Jarkko Sakkinen , linux-kernel@vger.kernel.org, Peter Huewe , Jason Gunthorpe , linux-integrity@vger.kernel.org References: <20191025193103.30226-1-jsnitsel@redhat.com> <20191028205313.GH8279@linux.intel.com> MIME-Version: 1.0 In-Reply-To: <20191028205313.GH8279@linux.intel.com> User-Agent: NeoMutt/20180716 X-MC-Unique: i_rBb6VSM0e9RW7K8-ksqQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon Oct 28 19, Jarkko Sakkinen wrote: >On Fri, Oct 25, 2019 at 12:31:03PM -0700, Jerry Snitselaar wrote: >> +=09return sprintf(buf, "%s\n", chip->flags & TPM_CHIP_FLAG_TPM2 >> +=09=09 ? "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?