Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3789045imm; Mon, 15 Oct 2018 04:19:32 -0700 (PDT) X-Google-Smtp-Source: ACcGV61K12Kt9TT9Qgv0amCCLkyhwKBv9CJLHo7UdfmqoE+1KsTC0JPVHjJddKLDiFqS1BixqDcx X-Received: by 2002:a17:902:368:: with SMTP id 95-v6mr16879869pld.319.1539602372392; Mon, 15 Oct 2018 04:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539602372; cv=none; d=google.com; s=arc-20160816; b=Yc+tQXP7VgEupmPDwjyZcl2uJR0RupF7OVZrUOBdRxUgydN4TGibsG0QVxsPX3xs8Z /9ZWQelV75WzX7eNa5XY0wlPVvjj30XAwxKEe1GWZhJU37CFwKBiMJ88c9eWq6NDHyHg V5mruzqz4i/H2McRziDRh45mHsKYUwfYjaBOEtQzUn+OcUWHXuEBEWQR61eAYbnlyrMp M2BAQIsGqVZkTE5ZPn6o/f2fFoGo0j/z9OGeTHyRDFpbcqSj2S8BNcvmizhby6NR0WVz rjissy+DBfxHNROQIwx/XVW8wfwDDDY1qPMrMfdmH44ym4/KkUp2WlatVFH3du/njB17 WAWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=uvrIyu4TpQlhA1zlHqPd39hXhScBGWAva9MtjJk9ocQ=; b=LJIlxEPeMc5YTuLtfTM3RajEWGSF7NbIM4YBrHFOVP+XzViMGd0EY/6ZFJ7q3fKfZi cUKfmOjA5LVAj7fnSA3Iz6f6syH5ObeIlNeZzv//omSyGeH/2j8ChjN06wSF08lnT058 Gtfncd0vC6B8RK/EINCUhLtGs86/gyp0ApWaBBxD6d3Tf0yLgzjj5VC7n6dW4yFNSlyO csp3HYZpN/0vVu80HgaCdlCzBv0onsv8eUq5F1oHb55+yCUNTzldJFnCQK3RBgMu5HM5 hAf09n0VHYmSJCOcYs1WozqgA/XYd7YlLJCdMfsV2QBfiJWy3bmWDoGKIs0HQAST+1Vl u5DQ== 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 m23-v6si10276812pgk.424.2018.10.15.04.19.18; Mon, 15 Oct 2018 04:19:32 -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 S1726641AbeJOTDg (ORCPT + 99 others); Mon, 15 Oct 2018 15:03:36 -0400 Received: from mga06.intel.com ([134.134.136.31]:17533 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726456AbeJOTDg (ORCPT ); Mon, 15 Oct 2018 15:03:36 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Oct 2018 04:18:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,384,1534834800"; d="scan'208";a="78856109" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga008.fm.intel.com with ESMTP; 15 Oct 2018 04:18:46 -0700 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 15 Oct 2018 04:18:46 -0700 Received: from hasmsx105.ger.corp.intel.com (10.184.198.19) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 15 Oct 2018 04:18:45 -0700 Received: from HASMSX109.ger.corp.intel.com ([169.254.3.28]) by HASMSX105.ger.corp.intel.com ([169.254.1.191]) with mapi id 14.03.0319.002; Mon, 15 Oct 2018 14:18:43 +0300 From: "Winkler, Tomas" To: "jarkko.sakkinen@linux.intel.com" CC: "linux-integrity@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "jgg@ziepe.ca" , "gustavo@embeddedor.com" , "arnd@arndb.de" , "peterhuewe@gmx.de" , "gregkh@linuxfoundation.org" Subject: Re: [PATCH] tpm: fix unused-value issues in tpm_try_transmit Thread-Topic: [PATCH] tpm: fix unused-value issues in tpm_try_transmit Thread-Index: AQHUYJ6p/SuLBw4aaUml2bYnZz2LwqUYUWMAgAFvawCAADdeYIAF+64AgAAJJ4A= Date: Mon, 15 Oct 2018 11:18:43 +0000 Message-ID: <1539602081.11953.4.camel@intel.com> References: <20181010133817.GA11485@embeddedor.com> <20181010140638.GA3894@ziepe.ca> <20181011120140.GA15767@linux.intel.com> <5B8DA87D05A7694D9FA63FD143655C1B9D9EEC12@hasmsx109.ger.corp.intel.com> <20181015104156.GA13408@linux.intel.com> In-Reply-To: <20181015104156.GA13408@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.12.91.48] Content-Type: text/plain; charset="utf-8" Content-ID: <5A400B18EABD574FBBD9251DA627B4A7@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDE4L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