Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1205876ybi; Wed, 19 Jun 2019 15:49:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDaQNke1eadLDgEO1ZGWHPakERGxYpEHme37WAjiWOuhXvLww5XU3ph+v6KaG9V7tJZDee X-Received: by 2002:a17:90a:9306:: with SMTP id p6mr2463743pjo.6.1560984546317; Wed, 19 Jun 2019 15:49:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560984546; cv=none; d=google.com; s=arc-20160816; b=PcTfehytUyq9onISom2mNJm6hhXrb0hM6biD3yrk063/mOsWGtaR6mqqpfdw/qf2Ow dLg6J6Uru68Kd2henFikBd70vcrWP+hGfsjZLLNlfcDeWx2K3XSuN3XVxgYc3wuq5os5 nuxQNVYpk3YFUqb862LbEUATsFnF2LPNgXub+5tc4qa4LWD+L0M7rNP5mxcVFmeWzVh8 X5/orUFChFMIs5Aq/BC/ltNiXfLp2sIkAUK+q1jD8XL1DFX7dSl+mg5vA3CzMxRxiU03 c29GxW9/UZyYmFR5BMEdsFTZNyTAauDquo/r2QZMoLiYD8nt3ydwU2+0Ba1nx+yuotLP 5OWg== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=YKJaoMjaF4vCZqPi8dwckcEgHtOWdNYvU090tpibj0w=; b=tVIPMmFoaiPca0vvecXowa+t3hxg8v/bgQONcdLdNq8DtQRwD/Ik7TVkaaVPvIREI+ f8Q1CPgj1BT3z5qnr0oDauWw2bWTolzw06luTc3ibjnilYax8NgMDSgXHAOXDIKg5XPl phcoJgPSXb86mdE7hz8gWwTfvs7MKJnPQdXtcl1mSVejmSy+HxyIxR259iG60i+7N0la Zym1/cvr/GZp3OCNOunyXzPNUhRLUeqw4+/j7QJckVbuApPTj4zz65gqx6bFtlVQSdQt 86RBhFGr1npIYeHWeHPVQafYQQHCSNWH1EBAO1lFzW3Gj679g2fSnh2LcTXxk+D+ml4n rpYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=d6WWNTDf; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a63si17556721pla.348.2019.06.19.15.48.47; Wed, 19 Jun 2019 15:49:06 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=d6WWNTDf; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730089AbfFSWsg (ORCPT + 99 others); Wed, 19 Jun 2019 18:48:36 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:36116 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726482AbfFSWsg (ORCPT ); Wed, 19 Jun 2019 18:48:36 -0400 Received: by mail-io1-f68.google.com with SMTP id h6so36776ioh.3 for ; Wed, 19 Jun 2019 15:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=YKJaoMjaF4vCZqPi8dwckcEgHtOWdNYvU090tpibj0w=; b=d6WWNTDf8BwpcDeLK3CHrloIi8s3+6D20pkxtkx0tfHOzYzHxUI6l1c1+/LNMs30sM BMoSj2tz2++N/8yJG1frilcp+5jbpEvCMOhUNiSdjIaB9yxbr+UO33vHSgypay0UfOhi Akil9xVSqel1xTCQ4z11nvl3JpSCjY2nZZtKPRabomxyQWdVOczgB+u+evqwqvTekzlT 7CcmYKsjG5BewmhtbtVRS1jKryf4TZHc8v0FmbPQ9rAXmEuK8zjbvTCi+lB6n2kUt45z 0I6TQbCHrUNoR5C3o5YvtxgW4P36jHKWnGvCb01DQFWtUWUI/YyQyNWXVuYoliIbAWgw 8zEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=YKJaoMjaF4vCZqPi8dwckcEgHtOWdNYvU090tpibj0w=; b=AJOFSLECmaGH+EKaZlfGOlk/z+/ONphuaJrt4JvQk8h6zIj4oZpcIBgbj84p3dt9h3 BMZvPZjcSGX4+00qUyA54zAkVDTPPNPxGvNS3s2w54Bq77Aa8vlZ9bx32B0QnnVKpbP6 6q4iQlREPYwsSuVmswlo1dYJ/F6MlxMVMtBm5332Ry3fmmOiliKiDYUl1/iMn7RrZguK RZrFKYWofBvpA0WabEcVQ85diHyloRzdch1ez6ve22zPsOD1vGqehtrp5J2VynrYa1D/ FUBhi/HiiTXTFCGj30XIKKybmshoKHrf5mjGBybiO6+yTMj5Jo4orPEo1YQYgia/Ma3x yIXQ== X-Gm-Message-State: APjAAAV1jC4/dSSDhWVoqqeVG9LA2sNlc25eO/Wb/dZyQOxCzI8OPSj8 IRy/KMwWcKOGhMO5w3ssN7oqrxI5cOsld0An72bhkg== X-Received: by 2002:a02:cc6c:: with SMTP id j12mr12111505jaq.102.1560984514733; Wed, 19 Jun 2019 15:48:34 -0700 (PDT) MIME-Version: 1.0 References: <20190615040210.GA9112@hari-Inspiron-1545> In-Reply-To: From: Matthew Garrett Date: Wed, 19 Jun 2019 15:48:23 -0700 Message-ID: Subject: Re: [PATCH] drivers: firmware: efi: fix gcc warning -Wint-conversion To: Ard Biesheuvel Cc: Hariprasad Kelam , Jarkko Sakkinen , tpmdd-devel@lists.sourceforge.net, linux-efi , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 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 > > =E2=80=98tpm2_calc_event_log_size=E2=80=99 makes pointer from integer w= ithout 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.