[BUG] Initialize efi_time in uefirttime_test38 function

Bug #1929509 reported by Ashish Singhal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Firmware Test Suite
Fix Released
High
Ivan Hu

Bug Description

uefirttime_test38 function calls set time runtime function with efi_time variable as argument and expects EFI_UNSUPPORTED as a return if the platform does not support this runtime functionality. Instead of EFI_UNSUPPORTED, UEFI returns EFI_INVALID_PARAMETER as efi_time variable is not initialized correctly as checked in https://github.com/tianocore/edk2/blob/master/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c#L91

efi_time variable in uefirttime_test38 function should be initialized properly before being passed into set time function to fix this and test the feature properly.

Alex Hung (alexhung)
Changed in fwts:
assignee: nobody → Ivan Hu (ivan.hu)
Ivan Hu (ivan.hu)
Changed in fwts:
status: New → In Progress
importance: Undecided → High
Revision history for this message
Ivan Hu (ivan.hu) wrote :

Patch has sent to fwts_devle for review.
http://patchwork<email address hidden>/

Revision history for this message
Alex Hung (alexhung) wrote :

Patch V2 (http://patchwork<email address hidden>/) approved and committed

Changed in fwts:
status: In Progress → Fix Committed
Revision history for this message
Alex Hung (alexhung) wrote :

The fix landed in FWTS 21.06.00 released on June 21.

Changed in fwts:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.