summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/usr/errl/parser/scanforsrcs.pl14
-rw-r--r--src/usr/hwpf/plat/fapiPlatAttributeService.C6
2 files changed, 6 insertions, 14 deletions
diff --git a/src/usr/errl/parser/scanforsrcs.pl b/src/usr/errl/parser/scanforsrcs.pl
index 3368b329d..83fbfed5a 100755
--- a/src/usr/errl/parser/scanforsrcs.pl
+++ b/src/usr/errl/parser/scanforsrcs.pl
@@ -299,7 +299,6 @@ sub extractTags
my $data;
my ($file, $comp) = @_;
debugMsg( "extractTags: Component: $comp" );
- my $found = 0;
local *FH;
debugMsg( "Processing: $file" );
@@ -326,12 +325,6 @@ sub extractTags
{
debugMsg( "Found New Error Tag!" );
- if( !$found )
- {
- findNameSpace( $file )
- }
-
- $found = 1;
my $text = $1;
debugMsg( "Text1: $text" );
my %hash = $text =~ /\@(\S+)(?:\s+|\.+)\b(.+?)$/gm;
@@ -506,6 +499,9 @@ sub includeReasonCodes
print $fh "#include <$incFileName>\n";
# print $fh "#include <$parentDir>\n";
+
+ # Find the namespace of the reason codes
+ findNameSpace( $file )
}
elsif( -d $file )
{
@@ -566,10 +562,6 @@ EOF
print $fh "using namespace $namespace;\n"
}
- # VFS namespace is defined in header file with no errors, so we didn't
- # find it...
- print $fh "using namespace VFS;\n";
-
print $fh <<EOF;
diff --git a/src/usr/hwpf/plat/fapiPlatAttributeService.C b/src/usr/hwpf/plat/fapiPlatAttributeService.C
index e72e637f5..06a5392bf 100644
--- a/src/usr/hwpf/plat/fapiPlatAttributeService.C
+++ b/src/usr/hwpf/plat/fapiPlatAttributeService.C
@@ -70,10 +70,10 @@ fapi::ReturnCode createAttrAccessError(
const fapi::AttributeId i_fapiAttrId,
const fapi::Target* const i_pFapiTarget)
{
- /*
+ /*@
* @errortype
- * @moduleid fapi::MOD_PLAT_ATTR_SVC_CREATE_ATTR_ACCESS_ERROR
- * @reasoncode fapi::RC_FAILED_TO_ACCESS_ATTRIBUTE
+ * @moduleid MOD_PLAT_ATTR_SVC_CREATE_ATTR_ACCESS_ERROR
+ * @reasoncode RC_FAILED_TO_ACCESS_ATTRIBUTE
* @userdata1 Top 32 bits = platform attribute ID, lower 32 bits =
* FAPI attribute ID
* @userdata2 FAPI target type, or NULL if system target
OpenPOWER on IntegriCloud