Skip to content

Commit

Permalink
Bug fixes for pal_ras_create_info_table in BM
Browse files Browse the repository at this point in the history
 - Incremented the curr_node pointer to the next one so that
   the table does not overwrite the next node's data in
   system with multiple RAS nodes.

Signed-off-by: Srikar Josyula <srikar.josyula@arm.com>
  • Loading branch information
SrikarJosyula committed Jun 14, 2023
1 parent 3c5f68d commit 0de0248
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion platform/pal_baremetal/src/pal_ras.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @file
* Copyright (c) 2023 Arm Limited or its affiliates. All rights reserved.
* Copyright (c) 2023, Arm Limited or its affiliates. All rights reserved.
* SPDX-License-Identifier : Apache-2.0
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -228,6 +228,9 @@ pal_ras_create_info_table(RAS_INFO_TABLE *RasInfoTable)
RAS_MAX_NUM_NODES);
break;
}

/* Move to next RAS node */
curr_node++;
}

pal_ras_dump_info_table(RasInfoTable);
Expand Down

0 comments on commit 0de0248

Please sign in to comment.