Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp1027517oof; Tue, 25 Sep 2018 07:26:17 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Gb+0S1kKlr/6yxqFd5uNEVALCnvPoZEwLLKFtFswzE7OWkupFLV2k097KPFDBDTLopKhV X-Received: by 2002:a17:902:263:: with SMTP id 90-v6mr1520073plc.190.1537885576962; Tue, 25 Sep 2018 07:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537885576; cv=none; d=google.com; s=arc-20160816; b=l5LFPRKyI3aFiq/HUEoDzqhrxmO27Gds4R08EpG5/n3GZDEw9UpfvAZ/Q+97tEfSaO 1nKBg4DKW2jBMTN3cbs01D5a/0uoneuqi7udv6qrENxyNKW3WV9XpG72VWzZnQDcMvCX sVZHwfCR3MUtuZTSixL51clO+bAVxkxJG4ny1G93d3MSa9CWkenH/RQMt/kXHz1I2KKr vkPM6b271qN9zOJwC2RuIaV2wAXc3mA+PQQWvF6mCw5jigZkD+/07kDm6SCi5mjVQ+7h 1G+VV9qE+IQqYoQDhd365/xXvWimBDeSw9USX6LeI3BdpzmnURj/FolGMdMi1x/Meviu +/Hg== 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=dmeCTFlN+YP8Rbh0at7xHkBABs21aceJa+l7j9Dzmkk=; b=PaziIceExuHiLBgyvJp/WWCbyQAFaW0QjqxSyYD9t4thJVULLs2s/wfQEBruFomF9n VEn9v5XeK651DUicqFNGz6cjhh6DbALF7gQ6+0Cs1Ac837I4u64Nk5bUhJ9TXkTzFdtq iN2OGz5piiJnRrMh1hy0oBImYzphSU5n97H7Hbv5AMdlAk84cD3p43dsDT2537kLPgwr FN8eo0Rrsdg9ECasLBlSr/dhNlevA342vazOty8huTRSjR9rb2FTwHWqDAc/2ndjN6cm +VI+prjwRM2mJ7QbTehVfo9+CwRFwSeH9MJyt7coq1WUgn6aFYWUohFoZX91ovn6r+pl iEPQ== 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 y66-v6si2480823pgy.496.2018.09.25.07.26.01; Tue, 25 Sep 2018 07:26:16 -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 S1729458AbeIYUdg (ORCPT + 99 others); Tue, 25 Sep 2018 16:33:36 -0400 Received: from mga04.intel.com ([192.55.52.120]:38154 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729216AbeIYUdg (ORCPT ); Tue, 25 Sep 2018 16:33:36 -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 fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2018 07:25:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,302,1534834800"; d="scan'208";a="75791266" Received: from thomasvo-mobl2.ger.corp.intel.com ([10.252.53.212]) by orsmga007.jf.intel.com with ESMTP; 25 Sep 2018 07:25:41 -0700 Message-ID: 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:25:40 +0300 In-Reply-To: <5f142a3b-15b8-368b-19e5-5926b20addfd@linux.vnet.ibm.com> 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 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. /Jarkko