mirror of
https://github.com/acpica/acpica/
synced 2025-02-18 22:44:13 +03:00
Name not found warnings are now errors
date 2002.05.13.20.31.00; author rmoore1; state Exp;
This commit is contained in:
parent
e414611a3a
commit
ed76911ddc
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: asllookup- Namespace lookup
|
||||
* $Revision: 1.58 $
|
||||
* $Revision: 1.60 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -535,13 +535,13 @@ LkNamespaceLocateBegin (
|
||||
{
|
||||
/* There exists such a name, but we couldn't get to it from this scope */
|
||||
|
||||
AslError (ASL_WARNING, ASL_MSG_NOT_REACHABLE, Op, Op->Asl.ExternalName);
|
||||
AslError (ASL_ERROR, ASL_MSG_NOT_REACHABLE, Op, Op->Asl.ExternalName);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* The name doesn't exist, period */
|
||||
|
||||
AslError (ASL_WARNING, ASL_MSG_NOT_EXIST, Op, Op->Asl.ExternalName);
|
||||
AslError (ASL_ERROR, ASL_MSG_NOT_EXIST, Op, Op->Asl.ExternalName);
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -552,15 +552,17 @@ LkNamespaceLocateBegin (
|
||||
{
|
||||
/* Gave full path, the object does not exist */
|
||||
|
||||
AslError (ASL_WARNING, ASL_MSG_NOT_EXIST, Op, Op->Asl.ExternalName);
|
||||
AslError (ASL_ERROR, ASL_MSG_NOT_EXIST, Op, Op->Asl.ExternalName);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* We can't tell whether it doesn't exist or just can't be reached. */
|
||||
|
||||
AslError (ASL_WARNING, ASL_MSG_NOT_FOUND, Op, Op->Asl.ExternalName);
|
||||
AslError (ASL_ERROR, ASL_MSG_NOT_FOUND, Op, Op->Asl.ExternalName);
|
||||
}
|
||||
}
|
||||
|
||||
Status = AE_OK;
|
||||
}
|
||||
return (Status);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user