efi: make efi_guid_to_str() take a const GUID pointer

efi_guid_to_str() only formats the GUID through the byte array passed to
the UUID printf formatter. It does not modify the GUID contents.

Make the input pointer const so callers can stringify GUIDs from const
data without a cast.

Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
Vincent Mailhol 2026-07-22 23:22:25 +02:00 • committed by Ard Biesheuvel
commit 01787ed2fd