Heinrich Schuchardt 50457f547d efi_loader: simplify error message in efi_disk_create_raw()
The error message

    Adding disk for usb_mass_storage.lun0 failed (err=-9223372036854775788/0x8000000000000014)

provides a decimal and a hexadecimal notation of the EFI status code
EFI_ALREADY_STARTED which is defined as (EFI_ERROR_MASK | 20).
The decimal output does not convey the value 20 clearly.

With the patch we write

    Adding block device usb_mass_storage.lun0 failed, r = 20

similar to other EFI error messages.

Fixes: 952018117ab4 ("dm: sandbox: Switch over to using the new host uclass")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2024-02-12 17:35:34 +01:00
..
2024-01-07 13:49:15 -07:00
2022-01-18 08:31:02 -05:00
2024-01-13 18:17:46 +01:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-18 09:55:32 -05:00
2019-12-06 16:44:20 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2023-12-21 08:54:37 -05:00
2020-08-24 14:11:31 -04:00
2022-01-19 18:11:34 +01:00
2019-05-05 08:48:50 -04:00