summaryrefslogtreecommitdiffstats
path: root/src/usr/pnor
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2014-07-02 01:22:12 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-07-02 20:06:19 -0500
commit480979c6b7464f1a7a52ac715d6a5d63e17150a7 (patch)
tree8ff727b19d4b4fc2e4bdce31d94bec512e91fc81 /src/usr/pnor
parent002f4f892d82baed0ebe1efa2cbc81b1a14fde33 (diff)
downloadtalos-hostboot-480979c6b7464f1a7a52ac715d6a5d63e17150a7.tar.gz
talos-hostboot-480979c6b7464f1a7a52ac715d6a5d63e17150a7.zip
Fix uninitialized value in pnorrptest.H
Change-Id: Ifb95c9ee080a1314432a385241e350cdcc59c2af Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11940 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/pnor')
-rw-r--r--src/usr/pnor/test/pnorrptest.H6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/pnor/test/pnorrptest.H b/src/usr/pnor/test/pnorrptest.H
index 81ad1fb6e..6c90f2a99 100644
--- a/src/usr/pnor/test/pnorrptest.H
+++ b/src/usr/pnor/test/pnorrptest.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2014 */
+/* Contributors Listed Below - COPYRIGHT 2011,2014 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -238,7 +240,7 @@ class PnorRpTest : public CxxTest::TestSuite
}
// read the same data through the RP, ECC errors should be corrected
- for( size_t i = i; i < PAGESIZE/sizeof(uint64_t); i++ )
+ for( size_t i = 0; i < PAGESIZE/sizeof(uint64_t); i++ )
{
total++;
if( dataptr[i] != FIRST_VAL+i )
OpenPOWER on IntegriCloud