ArmPkg/ArmTrngLib: Fix incorrect GUID reference in DEBUG() output

ArmTrngLib crashes when run in DEBUG mode due to the fact that it passed
the [truncated] GUID value to a DEBUG() print statement instead of a
pointer to the GUID which is what the %g conversion expects.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
Ard Biesheuvel 2022-11-10 21:47:36 +08:00 committed by mergify[bot]
parent 3b1f3414f2
commit c8fb724046

View File

@ -375,7 +375,7 @@ ArmTrngLibConstructor (
"FW-TRNG: Version %d.%d, GUID {%g}\n",
MajorRev,
MinorRev,
Guid
&Guid
));
DEBUG_CODE_END ();