Skip to content

Commit

Permalink
Fix for print the number of ecam (#393)
Browse files Browse the repository at this point in the history
- The number of ECAM regions is printed in
  hex. Changed it to %ld to maintain consistency
  in print messages

Signed-off-by: Sujana M <sujana.m@arm.com>
Co-authored-by: Sujana M <sujana.m@arm.com>
  • Loading branch information
Sujana-M and Sujana-M authored Sep 21, 2023
1 parent 98fec5a commit 45213d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion val/src/avs_pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,8 @@ val_pcie_create_info_table(uint64_t *pcie_info_table)

pal_pcie_create_info_table(g_pcie_info_table);

val_print(AVS_PRINT_TEST, " PCIE_INFO: Number of ECAM regions : %lx \n", val_pcie_get_info(PCIE_INFO_NUM_ECAM, 0));
val_print(AVS_PRINT_TEST, " PCIE_INFO: Number of ECAM regions : %ld \n",
val_pcie_get_info(PCIE_INFO_NUM_ECAM, 0));

val_pcie_enumerate();

Expand Down

0 comments on commit 45213d1

Please sign in to comment.