[PATCH v10 10/10] fix armv7 compilation warning

Eddie James eajames at linux.ibm.com
Mon Aug 7 17:17:35 CEST 2023


From: Ilias Apalodimas <ilias.apalodimas at linaro.org>

Signed-off-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
---
 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))
-- 
2.39.3



More information about the U-Boot mailing list