Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50920C433F5 for ; Thu, 4 Nov 2021 01:15:26 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BB341611C1 for ; Thu, 4 Nov 2021 01:15:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BB341611C1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=traverse.com.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 34EED8367E; Thu, 4 Nov 2021 02:14:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=traverse.com.au Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=traverse.com.au header.i=@traverse.com.au header.b="apMB+zZz"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="hrHbMSKO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E320383665; Thu, 4 Nov 2021 02:14:18 +0100 (CET) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A98E083632 for ; Thu, 4 Nov 2021 02:14:14 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=traverse.com.au Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=matt@traverse.com.au Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D6C835C0108; Wed, 3 Nov 2021 21:14:13 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 03 Nov 2021 21:14:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=IKHIEGlZ+35SS 95P0P5gxyQnnBOBj8bxrZKK5o94cxM=; b=apMB+zZzGhdMOmLl6VPKZAhM6vqlW +cRDlFBtU6/DCT8xWzN+BnTfWAhGO0jkg3j6PA9qW/hSCO/Njc6kj/fOqKpqVMzt 1horeMxr6yupFVNv7iq7sWVCDpuAU70m8fek5Jz/WkNrvVQojB1qG3LFpOmhf/F7 23yEERHsO/TAn/KVZLlJkFoUpkSKAEfjjNFx5/aHcQLyQLQzJiPNAzBbGmWfgD5n tLIMllWSGwsFgBDPh6SExE5SfVe819rhTiKJFg/sRYEUUgIC5MJVJwGmpCunYpPK nQRQZm0KEF07RaVbqqra61GloScBaXO6u8bs4WGTVeRSG16entmZhfBpQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=IKHIEGlZ+35SS95P0P5gxyQnnBOBj8bxrZKK5o94cxM=; b=hrHbMSKO u4BZ4ZnDboq2Ynh8SDe3aPYzVYMlBmCnT93ZxkLwJSukySbV1iRRjW8OKyPjDysi 3hN15hIpMoufOTtgFb7j7siSEpGwKsb6pSvtGK81ulNoLjJ+Q2RoTwzI7nWMmzcA t7N7JItm05V0XXsof0gxT6Gf3jy2poYguVNPOB26fpPowM0slWOD42nAKisF9Cc4 hiVFqaVZ/u4yykIKQuqyd1OWfElJ4wQVet2DUgSVj8Gc6UZTlRSwGmT2LGVDi31p qZCpPXUH0hXGb+0imEyzf8T/ReQ74i1cCzsI4qDzp/jdxYNCSSMDzwqI/kxCzghO +3OWsMej3ZVrxg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtdefgddvlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepofgrthhhvgif ucfotgeurhhiuggvuceomhgrthhtsehtrhgrvhgvrhhsvgdrtghomhdrrghuqeenucggtf frrghtthgvrhhnpeekleevteelvdduheetgfdvfeelueekffeggeethedtteeljeeivedv gfehjeejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehmrghtthesthhrrghvvghrshgvrdgtohhmrdgruh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 3 Nov 2021 21:14:11 -0400 (EDT) From: Mathew McBride To: u-boot@lists.denx.de, Ilias Apalodimas , Simon Glass Cc: Mathew McBride Subject: [PATCH 6/6] drivers: tpm: atmel_twi: fix printf specifier compile warning Date: Thu, 4 Nov 2021 01:12:53 +0000 Message-Id: <20211104011253.4401-7-matt@traverse.com.au> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20211104011253.4401-1-matt@traverse.com.au> References: <20211104011253.4401-1-matt@traverse.com.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean %d was being used as the specifier for size_t, leading to a compiler warning Signed-off-by: Mathew McBride --- drivers/tpm/tpm_atmel_twi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tpm/tpm_atmel_twi.c b/drivers/tpm/tpm_atmel_twi.c index 9ca33e4334..e84f9183d1 100644 --- a/drivers/tpm/tpm_atmel_twi.c +++ b/drivers/tpm/tpm_atmel_twi.c @@ -116,7 +116,7 @@ static int tpm_atmel_twi_xfer(struct udevice *dev, } } if (res) { - printf("i2c_read returned %d (rlen=%d)\n", res, *recv_len); + printf("i2c_read returned %d (rlen=%zu)\n", res, *recv_len); #ifdef DEBUG print_buffer(0, recvbuf, 1, *recv_len, 0); #endif -- 2.30.1