From c8f49e882b07466cb13b6e00e3a7ee5de2c567fa Mon Sep 17 00:00:00 2001 From: dragonmux Date: Wed, 29 Nov 2023 17:24:36 +0000 Subject: [PATCH] cortexar: Fixed a signed-unsigned conversion mistake in the cache line debug print --- src/target/cortexar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/cortexar.c b/src/target/cortexar.c index 78a67986e52..b3a5dd8936c 100644 --- a/src/target/cortexar.c +++ b/src/target/cortexar.c @@ -798,7 +798,7 @@ static target_s *cortexar_probe( priv->base.dcache_line_length = CORTEX_CTR_DCACHE_LINE(cache_type); DEBUG_TARGET("%s: ICache line length = %u, DCache line length = %u\n", __func__, - priv->base.icache_line_length << 2U, priv->base.dcache_line_length << 2U); + priv->base.icache_line_length * 4U, priv->base.dcache_line_length * 4U); } else target_check_error(target);