From 480f31bfceaa2f393e44480dfebbcdf56b771017 Mon Sep 17 00:00:00 2001 From: Dean Sanner Date: Thu, 1 Feb 2018 09:48:51 -0600 Subject: Correct Obus buckets math: one, not zero based Change-Id: Iaefbf2add1e79d978360e38d133afe2190da094d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53186 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Martin Gloff Reviewed-by: William G. Hoffa --- src/usr/hdat/hdatutil.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usr/hdat') diff --git a/src/usr/hdat/hdatutil.C b/src/usr/hdat/hdatutil.C index 6c1549e82..c26b88743 100644 --- a/src/usr/hdat/hdatutil.C +++ b/src/usr/hdat/hdatutil.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2017 */ +/* Contributors Listed Below - COPYRIGHT 2015,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -2042,7 +2042,7 @@ errlHndl_t hdatUpdateSMPLinkInfoData(hdatHDIFDataArray_t * i_SMPInfoFullPcrdHdrP break; } - if(l_obusPllFreqBucket >= OBUS_PLL_FREQ_BUCKETS) + if(l_obusPllFreqBucket > OBUS_PLL_FREQ_BUCKETS) { HDAT_ERR(" Invalid obus Freq bucket "); -- cgit v1.2.1