From 70ba2af58d7d1d0b678d722ed419abc82face208 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Wed, 1 Apr 2015 10:29:25 -0500 Subject: Do not fail IPL for missing OSYS:SS data Older planar vpd vintages may not have the OSYS record filled in. We should allow the system to boot in this case without logging any errors. CQ: SW201885 Change-Id: Ia4f6440551b4bb6d4a849d24290c19667f3a6c6b Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16801 Reviewed-by: Nicholas E. Bofferding Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/usr/devtree/bld_devtree.C | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/usr/devtree/bld_devtree.C') diff --git a/src/usr/devtree/bld_devtree.C b/src/usr/devtree/bld_devtree.C index 622178ae1..a73c81274 100644 --- a/src/usr/devtree/bld_devtree.C +++ b/src/usr/devtree/bld_devtree.C @@ -1197,10 +1197,13 @@ errlHndl_t bld_fdt_system(devTree * i_dt, bool i_smallTree) } } } - // just commit any errors we get, this isn't critical + // just delete any errors we get, this isn't critical if( errhdl ) { - errlCommit(errhdl, DEVTREE_COMP_ID); + // since there are old parts out in the wild without + // this data, we can't log an error + delete errhdl; + errhdl = NULL; } if( !foundvpd ) //serial number not found, default to unavailable -- cgit v1.2.3