Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp1031288oof; Tue, 25 Sep 2018 07:28:51 -0700 (PDT) X-Google-Smtp-Source: ACcGV61hvfcKcnsYGxBRuuQpdEwbu2izMgB0RZXjTQa9w7Qpurlyg6z2YLE9lYGNp2rmj3cp343z X-Received: by 2002:a63:e0e:: with SMTP id d14-v6mr1407672pgl.38.1537885731453; Tue, 25 Sep 2018 07:28:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537885731; cv=none; d=google.com; s=arc-20160816; b=bdOTqsw+yDu2zsmpBlwHC2DsdWuv9vkV+DPrhhvktGE3+nTSv++sSVRSW0UP58vclG ENMeTVVeMvLB5UFu0XyDkh7WZ66L1KKgsV7TlU6drGEdcn8TVVpz0gXN25JMH+G37xAW Cs3REufozmavOd0ME5Xa/GWpAOhyggcl0nBXCofqZFUknuqExynfnT6WOQRxXXlHxoY8 Dl6Xljw7VMiHbTHSYAvKv9rlMfNGTIX9tJu7RwPsEWMSpw02xquiMJM1kE1RHiSqGQIf B3Cbwaj+gSObaSlIsnf9Sqbr9rSnvNaXjqDsnYU7w6/6/2j9vvlvzbQng3li38hfpqxa biRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id; bh=yeEvv2FrTIuT3+PTAVJjLwB4iveptoCa2XTkqKOOMu4=; b=mOu+D/8tm5n9vLnkYMv0TcLF9lnrvhur4JD6wW25BIav/SfZpvVSSwTiFc+WqNKu8f 5QdtTI1OWBImEASYIYjKHD2bhDLT6jIIRXHMp/WAhl57drNOvt4MmT5EVKNf97W7yiz9 P8SulFK/adQH6vBxRKLQK9egDT7HbEr/JdBgO4TRxr0F5dnNIKIcXjQSSfvMuZDpkY3D myJCQBMhLvZbR+RhX9MB/rbTCnPaL/cuqV5M1zD5ybE7EaCKOv8ZfpY0h9FmOOIJcGLu KcudSEh530dsU/wyKAd0YhEpN4uFYwKiFlMFry8W918YoU648Ddxly4+jUEqPawQ6Efv Vb/w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o126-v6si2332210pfb.20.2018.09.25.07.28.35; Tue, 25 Sep 2018 07:28:51 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729325AbeIYUgE (ORCPT + 99 others); Tue, 25 Sep 2018 16:36:04 -0400 Received: from mga12.intel.com ([192.55.52.136]:64113 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729098AbeIYUgE (ORCPT ); Tue, 25 Sep 2018 16:36:04 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2018 07:28:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,302,1534834800"; d="scan'208";a="75791661" Received: from thomasvo-mobl2.ger.corp.intel.com ([10.252.53.212]) by orsmga007.jf.intel.com with ESMTP; 25 Sep 2018 07:28:13 -0700 Message-ID: <54bbc3719576bf3365aea5992fe49cbc6b02e3b6.camel@linux.intel.com> Subject: Re: [PATCH v4 20/21] tpm1: reimplement tpm1_continue_selftest() using tpm_buf From: Jarkko Sakkinen To: Nayna Jain , Tomas Winkler , Jason Gunthorpe Cc: Alexander Usyskin , Tadeusz Struk , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 25 Sep 2018 17:28:13 +0300 In-Reply-To: References: <20180921135820.20549-1-tomas.winkler@intel.com> <20180921135820.20549-21-tomas.winkler@intel.com> <5f142a3b-15b8-368b-19e5-5926b20addfd@linux.vnet.ibm.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2018-09-25 at 17:25 +0300, Jarkko Sakkinen wrote: > On Tue, 2018-09-25 at 15:53 +0530, Nayna Jain wrote: > > > + > > > + rc = tpm_transmit_cmd(chip, NULL, &buf.data, PAGE_SIZE, > > > > I think this needs to buf.data instead of &buf.data > > > > Thanks & Regards, > > - Nayna > > You are absolutely right. Thank you. Had to backtrack what I was doing wrong last time because the commit has my tested-by and noticed that I did not have this one applied. I tested this now by doing the change that you suggested and seems to work. /Jarkko