Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1091785imm; Tue, 2 Oct 2018 02:33:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV63pF1QPXnuc7u0Jn1cc1NkHEwP+5d7t7OyUh8BlXm3Bh2zSVCnaK+51PMDqRY4IjjiuKXs1 X-Received: by 2002:a62:9554:: with SMTP id p81-v6mr15487818pfd.222.1538472782356; Tue, 02 Oct 2018 02:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538472782; cv=none; d=google.com; s=arc-20160816; b=fpjW7vZQT4sQSoPRO3NDICUGw4jbKRw4SleE07g6gkmrZw3IesothgLhvqS6gs2NcU luMDtevZl9IR6sY1R3BPbFQBpLx0oC0phqy8PraFgGPaBiPvkgIABncEQm0NaSDkQg5V XstRGqBwE5CxrNg/agxjyxEO36/9RvFmF4S6S3C6AaDNREjeI3gznPh+xEJskIQpQTAp qOMChRw5P45XF1ixh6XFQhO0fiBkgUBHM06osWB/wwLWbDmYFk1jMsLfKz8zOyADCNxl F9dLMkfWd6OrW2vl6c3oTk/ZUQS8vTM9MoLiW4EuMwMqFFrcWog/4mvP0i8si0KTi5DI leIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :from:references:cc:to:subject; bh=JC6itC3sNYTZSScgDmR04gUU9AHoi2YlXe19mwYQyGI=; b=BHWENbZ9AojmwP6AE/pesTi+kkzG7q0Q4cb0f+E+SC612u4jy7ZEF56Rlu+JwfWIve bvBTIibMjUb1PPztSsHi2rMPm62Cc0PaTFUZkShKB1i5J6vUxq1T9265ag+TOWWrwPVq uVJN58pp5BXSzP3dpAq37n3CcFSzggSTqzBFREb5tArf/f1ZbCpE40h/p4R9+isIWkCa +VepNPbHkyrdn28ehQTSYxh2er++YHN2WDvKoIB80L3Ew3Q1kbh3hYuoDTkfeKlMtRhQ sby9VpVFsSzW88vDfOv/tycYxjzl3JbEvtqBc6VjUUYAMGnOjl4RfPEQcE2F6uEMbEN1 jRJQ== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c13-v6si14104863pfb.153.2018.10.02.02.32.47; Tue, 02 Oct 2018 02:33:02 -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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727160AbeJBQN0 (ORCPT + 99 others); Tue, 2 Oct 2018 12:13:26 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:45934 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727022AbeJBQNZ (ORCPT ); Tue, 2 Oct 2018 12:13:25 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w929Pk7D054042 for ; Tue, 2 Oct 2018 05:31:04 -0400 Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.150]) by mx0a-001b2d01.pphosted.com with ESMTP id 2mv4g2bx2n-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 02 Oct 2018 05:31:04 -0400 Received: from localhost by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 2 Oct 2018 03:31:03 -0600 Received: from b03cxnp08028.gho.boulder.ibm.com (9.17.130.20) by e32.co.us.ibm.com (192.168.1.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 2 Oct 2018 03:31:01 -0600 Received: from b03ledav002.gho.boulder.ibm.com (b03ledav002.gho.boulder.ibm.com [9.17.130.233]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w929V01q25755724 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 2 Oct 2018 02:31:00 -0700 Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 54201136051; Tue, 2 Oct 2018 03:31:00 -0600 (MDT) Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C8013136053; Tue, 2 Oct 2018 03:30:56 -0600 (MDT) Received: from [9.79.181.195] (unknown [9.79.181.195]) by b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTP; Tue, 2 Oct 2018 03:30:56 -0600 (MDT) Subject: Re: [PATCH v5 06/21] tpm: move tpm1_pcr_extend to tpm1-cmd.c To: Jarkko Sakkinen , Tomas Winkler Cc: Jason Gunthorpe , Alexander Usyskin , Tadeusz Struk , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180928223035.14471-1-tomas.winkler@intel.com> <20180928223035.14471-7-tomas.winkler@intel.com> <20181002004248.GC23753@linux.intel.com> From: Nayna Jain Date: Tue, 2 Oct 2018 14:58:00 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20181002004248.GC23753@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-TM-AS-GCONF: 00 x-cbid: 18100209-0004-0000-0000-000014959CA7 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009808; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000267; SDB=6.01096720; UDB=6.00567117; IPR=6.00876762; MB=3.00023585; MTD=3.00000008; XFM=3.00000015; UTC=2018-10-02 09:31:03 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18100209-0005-0000-0000-00008902B7B5 Message-Id: <7e42b9c4-2299-a62d-ac79-0e147cb60573@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-10-02_02:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810020095 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/02/2018 06:12 AM, Jarkko Sakkinen wrote: > On Sat, Sep 29, 2018 at 01:30:20AM +0300, Tomas Winkler wrote: >> Move tpm1_pcr_extend to tpm1-cmd.c and remove >> unused pcrextend_header structure and >> EXTEND_PCR_RESULT_SIZE and EXTEND_PCR_RESULT_BODY_SIZE >> defines. >> >> Fixes warning: >> drivers/char/tpm/tpm-interface.c:609:38: warning: ‘pcrextend_header’ defined but not used [-Wunused-const-variable=] >> static const struct tpm_input_header pcrextend_header = { >> ^~~~~~~~~~~~~~~~ >> >> Signed-off-by: Tomas Winkler >> Reviewed-by: Jarkko Sakkinen > Would need help with this from someone with a working IMA setup > on testing. My test system is down for now.. I think it will be up later in this week. I can test it then. Thanks & Regards,     - Nayna > > /Jarkko >