diff options
| author | Heinrich Schuchardt <[email protected]> | 2024-02-02 15:12:52 +0100 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-02-12 17:35:34 +0100 |
| commit | 50457f547de8f719566476436321b51a33b792a0 (patch) | |
| tree | 091029e305b21f4e4ea268a7eec462355fc99a22 /doc/develop/python_cq.rst | |
| parent | 5bf0802631aebdb3a9843462daa1e73398162e84 (diff) | |
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 <[email protected]>
Diffstat (limited to 'doc/develop/python_cq.rst')
0 files changed, 0 insertions, 0 deletions
