Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2404003ybi; Thu, 20 Jun 2019 14:38:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOReRORomay4ewVcrQVqOTeaOpDvKp/igS3dB7Koz7VPGPENYrFM9ApaNgEWNqDv3/s5Sf X-Received: by 2002:a63:5d61:: with SMTP id o33mr14765155pgm.114.1561066715264; Thu, 20 Jun 2019 14:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561066715; cv=none; d=google.com; s=arc-20160816; b=S4ypKpUQWKyJnUCxGnlU5Y53PsJAENM7Kc/D2gD5FHyRlgR9QdREvEQ29bo4ZqwEeX excVMQZtuNUKcQYaX8tcDhP/ONNoQjKstXtAqsGt8TBXoTHkaecrHS1o/uTCKnZLpcH2 xj+QJApz6ytL2BAs++4vGIkEcR7hZObVXZ6Ee3wv2UwYlIQHDs/Ye+a3ujgrGnLa//tI 1RuCAI9GRc1Ozez5cgNtpc34k90A0ZmlUbuV9hb9bR/1luYwwQpkNqQiQlqzVaoQ6ZY0 /g9jw3IdiYqdo9ORTme/SlLul0pY9e0XlpyHr50yb9aExE5Ru0NfXPHIP8+nIYb+hrRg 3WbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=DIVQ9Od84/69u7+Fi1m32xNlSy31bghEjc946QIRQ28=; b=L/p96mWXfTdroC6++Dl/fq9n94WBH8y7+GF818KjiLvDjJRr8/NPSp1HeGh4uldsti R9zj/C2NIz3VIIHvURTtnOXL8c8PfiPXF59uKOlECufBH8SCVMgtLX6R82iMzXHs6nY3 Kl3778g3naJJHkFTeyNpAIrT59v9pvcgjoox0O+71PHMNah0tyk9abZsZRP3b6awDKCV qVnSnykf4sAQtgaAO9HNGwWbD9RD7on0r+iWuMuDIqrVMpzdF9fEukp1ZbBViuWU+51t 4+dPxm4TbOtoA+NxS3rrejLT6P7V9MRcaK8SAEI9Sp9ZRjtlc1cwBKbMC0Cxx8uoh/0x DH0g== 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 s128si581268pfs.242.2019.06.20.14.38.20; Thu, 20 Jun 2019 14:38:35 -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 S1726447AbfFTVhx (ORCPT + 99 others); Thu, 20 Jun 2019 17:37:53 -0400 Received: from mga18.intel.com ([134.134.136.126]:34601 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbfFTVhx (ORCPT ); Thu, 20 Jun 2019 17:37:53 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jun 2019 14:37:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,398,1557212400"; d="scan'208";a="162491010" Received: from mudigirx-mobl1.gar.corp.intel.com (HELO localhost) ([10.252.61.12]) by fmsmga007.fm.intel.com with ESMTP; 20 Jun 2019 14:37:48 -0700 Date: Fri, 21 Jun 2019 00:37:46 +0300 From: Jarkko Sakkinen To: Matthew Garrett Cc: Ard Biesheuvel , Hariprasad Kelam , tpmdd-devel@lists.sourceforge.net, linux-efi , Linux Kernel Mailing List Subject: Re: [PATCH] drivers: firmware: efi: fix gcc warning -Wint-conversion Message-ID: <20190620213722.GA17841@linux.intel.com> References: <20190615040210.GA9112@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 19, 2019 at 03:48:23PM -0700, Matthew Garrett wrote: > On Wed, Jun 19, 2019 at 2:55 AM Ard Biesheuvel > wrote: > > > > (+ Jarkko, tpmdd, Matthew) > > > > On Sat, 15 Jun 2019 at 06:02, Hariprasad Kelam > > wrote: > > > > > > This patch fixes below warning > > > > > > drivers/firmware/efi/tpm.c:78:38: warning: passing argument 1 of > > > ‘tpm2_calc_event_log_size’ makes pointer from integer without a cast > > > [-Wint-conversion] > > > > > > Signed-off-by: Hariprasad Kelam > > > > I think we already have a fix queued for this, no? > > It looks like I fixed this in "Don't duplicate events from the final > event log in the TCG2 log" rather than a separate patch - I'm fine > merging this, based on Jarkko's preferences. Right! OK, I squashed just the fix to the earlier patch. Master and next are updated. Can you take a peek of [1] and see if it looks legit given all the fuzz around these changes? Then I'm confident enough to do the 5.3 PR. [1] git://git.infradead.org/users/jjs/linux-tpmdd.git /Jarkko