Skip to content

Commit

Permalink
Merge pull request acpica#832 from ElyesH/__func__
Browse files Browse the repository at this point in the history
Use ACPI_GET_FUNCTION_NAME
  • Loading branch information
acpibob authored Feb 17, 2023
2 parents 15b939b + 9be7f17 commit 682350c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion source/compiler/aslbtypes.c
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ AnGetBtype (

if (!Op)
{
AcpiOsPrintf ("Null Op in AnGetBtype\n");
AcpiOsPrintf ("Null Op in %s\n", ACPI_GET_FUNCTION_NAME);
return (ACPI_UINT32_MAX);
}

Expand Down
2 changes: 1 addition & 1 deletion source/compiler/aslparseop.c
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ TrAllocateOp (
}

AslGbl_CommentState.LatestParseOp = Op;
CvDbgPrint ("TrAllocateOp=Set latest parse op to this op.\n");
CvDbgPrint ("%s=Set latest parse op to this op.\n", ACPI_GET_FUNCTION_NAME);
CvDbgPrint (" Op->Asl.ParseOpName = %s\n",
AslGbl_CommentState.LatestParseOp->Asl.ParseOpName);
CvDbgPrint (" Op->Asl.ParseOpcode = 0x%x\n", ParseOpcode);
Expand Down
2 changes: 1 addition & 1 deletion source/compiler/asltree.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ TrLinkOpChildren (
if (AcpiGbl_CaptureComments)
{
AslGbl_CommentState.LatestParseOp = Op;
CvDbgPrint ("TrLinkOpChildren=====Set latest parse op to this op.\n");
CvDbgPrint ("%s=====Set latest parse op to this op.\n", ACPI_GET_FUNCTION_NAME);
}

return (Op);
Expand Down
4 changes: 2 additions & 2 deletions source/compiler/dtexpress.c
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,8 @@ DtInsertLabelField (
{

DbgPrint (ASL_DEBUG_OUTPUT,
"DtInsertLabelField: Found Label : %s at output table offset %X\n",
Field->Value, Field->TableOffset);
"%s: Found Label : %s at output table offset %X\n",
ACPI_GET_FUNCTION_NAME, Field->Value, Field->TableOffset);

Field->NextLabel = AslGbl_LabelList;
AslGbl_LabelList = Field;
Expand Down

0 comments on commit 682350c

Please sign in to comment.