Skip to content

Commit

Permalink
Test 1205 needs to initialize eri_id and fhi_id in for loop (#527)
Browse files Browse the repository at this point in the history
- Added code to initialize eri_id and fhi_id to zero in for loop

Signed-off-by: Balaji Gontumukkala <[email protected]>
  • Loading branch information
gontumukkala-balaji authored Jan 31, 2025
1 parent e716354 commit 2b8250b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test_pool/ras/operating_system/test_ras005.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @file
* Copyright (c) 2023-2024, Arm Limited or its affiliates. All rights reserved.
* Copyright (c) 2023-2025, 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 @@ -68,6 +68,8 @@ payload()
}

for (node_index = 0; node_index < num_node; node_index++) {
eri_id = 0;
fhi_id = 0;

/* Get ERI number for Node, If Not Skip the Node */
status = val_ras_get_info(RAS_INFO_ERI_ID, node_index, &eri_id);
Expand Down

0 comments on commit 2b8250b

Please sign in to comment.