summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/parser
diff options
context:
space:
mode:
authorDawit Habtegiorgis <hdawit@us.ibm.com>2019-06-21 10:50:42 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-06-28 15:19:26 -0500
commitb0b1f035aaad6d922f63e6cbfbc3f12302e50a53 (patch)
treed42af2ee0804e71b9804e6b5332ac06e29db6258 /src/usr/errl/parser
parentca9007fb2efce09d6bdaf85615e585c524414fab (diff)
downloadtalos-hostboot-b0b1f035aaad6d922f63e6cbfbc3f12302e50a53.tar.gz
talos-hostboot-b0b1f035aaad6d922f63e6cbfbc3f12302e50a53.zip
P10 SRC listing order
Changed ordring of SRC from in order by subsystems reason, then by reason code to in order by reason code then by subsystems reason. This change enable as to easly detect changes when we do diffs between versions. We end up getting 1 chuck that has changed per SRC, vs a lot of changes all scattered through the file. Change-Id: I2d6377078209c324a155c8d29e4f5085e8e68a7b RTC: Story 210547 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79525 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/errl/parser')
-rwxr-xr-xsrc/usr/errl/parser/genErrlParsers.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/errl/parser/genErrlParsers.pl b/src/usr/errl/parser/genErrlParsers.pl
index 19be84266..2ae0282e5 100755
--- a/src/usr/errl/parser/genErrlParsers.pl
+++ b/src/usr/errl/parser/genErrlParsers.pl
@@ -996,9 +996,9 @@ close(SUBSYSTEM_TYPES_FILE);
# Generate a list of all possible SRCs and their descriptions
# ------------------------------------------------------------------
open(OFILE, ">", $srcFileName) or die ("Cannot open: $srcFileName: $!");
-foreach my $sub (sort keys %subsysList)
+foreach my $rcVal (sort keys %srcList)
{
- foreach my $rcVal (sort keys %srcList)
+ foreach my $sub (sort keys %subsysList)
{
my $src = "BC$sub$rcVal";
print OFILE "//////////////////////////////////////////////////////\n";
OpenPOWER on IntegriCloud