Skip to content

Commit

Permalink
Fixed reporting of errors for multiple errors on port
Browse files Browse the repository at this point in the history
Change-Id: Ib1570935b0c8891865d0debb78a4de38d279b018
Original-Change-Id: I4ed72396f5fb640c7662de0badf97d7e297d5b9d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42875
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: JACOB L. HARVEY <jlharvey@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <sglancy@us.ibm.com>
Reviewed-by: Louis Stermole <stermole@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/45944
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: Christian R. Geddes <crgeddes@us.ibm.com>
  • Loading branch information
Matthickman14 authored and crgeddes committed Sep 11, 2017
1 parent c58c7e6 commit c49a461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/import/generic/memory/lib/utils/bit_count.H
Expand Up @@ -75,13 +75,13 @@ inline uint64_t first_bit_set(const T& i_value, const uint64_t i_pos = 0)
return 0;
}

if (fapi2::buffer<T>(i_value).template getBit<0>())
if (fapi2::buffer<T>(i_value).template getBit(i_pos))
{
return i_pos;
}
else
{
return first_bit_set(i_value << 1, i_pos + 1);
return first_bit_set(i_value, i_pos + 1);
}
}

Expand Down

0 comments on commit c49a461

Please sign in to comment.