From patchwork Mon Aug 7 15:17:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eddie James X-Patchwork-Id: 711132 Delivered-To: patch@linaro.org Received: by 2002:a05:6359:d30:b0:129:c516:61db with SMTP id gp48csp1602778rwb; Mon, 7 Aug 2023 08:19:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFIFWj8iyKn9C1MGlNGu+E431FDli6w6EorR/C8SiJMzHD1DvRbg74TTFHnwQrjk2OlZQQk X-Received: by 2002:a5d:670f:0:b0:317:636b:fcb1 with SMTP id o15-20020a5d670f000000b00317636bfcb1mr5965788wru.27.1691421562255; Mon, 07 Aug 2023 08:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691421562; cv=none; d=google.com; s=arc-20160816; b=tU2Q+QAGMbYVzj1JNuEn7Lt+6BHds2+zXxSZ7EoQCL3GcKR7avuBy734BH8g+nwhR3 +1mq4g+VoO5mwgEFo458NUcXhfXXtTyRjqyR3aIH5YzmZVIkeUrvlbp7hxXzjE9CtyVI 0RqzUKYRfRntTzT1/sQGMit/hu+27YzzX4uk3YL8mv5Ms/uS3Xfm01f+4xU6JlEDHZ4B IH0sSzT/+ocb/9sZwOnTy0Ojq2xDpOEyKuY87g0cloRd1R/KBOfyKN8gkiotneLfNFLQ FUozMtViQIRka3Z8ugpFqxDntsWi8syM+X4GF+T55ElOYlrfw9T2pOX0dx55ye3Si1Oi rKpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=iA27a1ppec5ZD8EremgMclYD79WzBFAB08hjgZhWfAg=; fh=x3v0/GoXJuL1oFKziP5cRNs3+Fqz1zxSh3t+0A/5jr0=; b=evV4ZxewqNuQX8GXWhFmHzY1oIkeSDLD1ZvXRPRQ9Z482LsODSPFtbJt8T04lKXMOk qmGsNIIWvefC61phfweWev431LajZDkqQ5r2ezWpnMBOH0GGqJ+97nGYHvsj/uTZ6iGq yZ5ViEraDRjb1O2MD5CcAf+TrJAzN3Kc00Ga3Z/GSYsMC+dRCRYtKH+TBjXEHAmGgBtq 1RMXKJXrxj+hB8KxHB5mITCx8jjNiopGcQRgclhyDER9TbyFZpi7+Ezn09pjaUXrLDTg n/bUbbM7WTGS5hCuqsaRmTNP5jX4u2SktESod0B+npA7CkkXd9nFBLGUowScFNr9vygF ZmGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=MZKaz2O7; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id e9-20020a056000120900b003178f2b876fsi3919450wrx.191.2023.08.07.08.19.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 08:19:22 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=MZKaz2O7; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E3EF9865B5; Mon, 7 Aug 2023 17:19:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=linux.ibm.com 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=ibm.com header.i=@ibm.com header.b="MZKaz2O7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AC26280834; Mon, 7 Aug 2023 17:19:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A83D380726 for ; Mon, 7 Aug 2023 17:18:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=eajames@linux.ibm.com Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 377F8W52031248; Mon, 7 Aug 2023 15:18:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=iA27a1ppec5ZD8EremgMclYD79WzBFAB08hjgZhWfAg=; b=MZKaz2O7wac+m8aVE5AnQMKHNwFJM1PZUjydhH1Iboy6X7KenEX1AH9bcHhu+q2Cq4E7 Pw3HxeZz6I6TvpqtutCeQKyyAmluAeN0v98OmeQ6kuSdesfGB6UfkE+dutbiDwpnHAxB nJtvpFF8w+vkJU3ec3rM37KSnxioQzr4pneVjocIyNYCSQfLAbI2/zFXs8DZyNEtKbF+ wqbkSzU5XjFoRWbiP7NU7zXZvweMjmfubGdXlIhoyftDNY7ErvXdRfiOmOVuiri0Z4qh A3N2DpXUBBy44a4pRd2WUdBRInxWVmIdR+vv7gJ+Uj5IufFvRrzacg3MYnPSac4Of9Kb /Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3sb2r98rpp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Aug 2023 15:18:54 +0000 Received: from m0353725.ppops.net (m0353725.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 377FIqNo016332; Mon, 7 Aug 2023 15:18:54 GMT Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3sb2r98rpa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Aug 2023 15:18:54 +0000 Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 377EWPmO001777; Mon, 7 Aug 2023 15:18:53 GMT Received: from smtprelay05.dal12v.mail.ibm.com ([172.16.1.7]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3sa3f1dk67-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Aug 2023 15:18:53 +0000 Received: from smtpav02.dal12v.mail.ibm.com (smtpav02.dal12v.mail.ibm.com [10.241.53.101]) by smtprelay05.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 377FHcex6095432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 7 Aug 2023 15:17:38 GMT Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 84F395805A; Mon, 7 Aug 2023 15:17:38 +0000 (GMT) Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 47ED45805C; Mon, 7 Aug 2023 15:17:38 +0000 (GMT) Received: from slate16.aus.stglabs.ibm.com (unknown [9.61.130.18]) by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTP; Mon, 7 Aug 2023 15:17:38 +0000 (GMT) From: Eddie James To: u-boot@lists.denx.de Cc: ilias.apalodimas@linaro.org, sjg@chromium.org, xypron.glpk@gmx.de, joel@jms.id.au, eajames@linux.ibm.com Subject: [PATCH v10 10/10] fix armv7 compilation warning Date: Mon, 7 Aug 2023 10:17:35 -0500 Message-Id: <20230807151735.84093-11-eajames@linux.ibm.com> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20230807151735.84093-1-eajames@linux.ibm.com> References: <20230807151735.84093-1-eajames@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: c42mJZjad5axNjqEi6kAhRZtlRx3gOZS X-Proofpoint-ORIG-GUID: tvHqP-Pp5bXOecnx1mtgj77jPohU5FqG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-07_16,2023-08-03_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 impostorscore=0 adultscore=0 spamscore=0 malwarescore=0 mlxlogscore=879 mlxscore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308070135 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean From: Ilias Apalodimas Signed-off-by: Ilias Apalodimas --- lib/tpm-v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tpm-v2.c b/lib/tpm-v2.c index d22e21985b..bd0fb078dc 100644 --- a/lib/tpm-v2.c +++ b/lib/tpm-v2.c @@ -671,7 +671,7 @@ __weak int tcg2_platform_get_log(struct udevice *dev, void **addr, u32 *size) } else { struct ofnode_phandle_args args; phys_addr_t a; - phys_size_t s; + fdt_size_t s; if (dev_read_phandle_with_args(dev, "memory-region", NULL, 0, 0, &args))