Skip to content

Commit

Permalink
cortexar: Fixed a signed-unsigned conversion mistake in the cache lin…
Browse files Browse the repository at this point in the history
…e debug print
  • Loading branch information
dragonmux authored and esden committed Jan 12, 2024
1 parent 2a057cd commit c8f49e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/cortexar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit c8f49e8

Please sign in to comment.