u-boot/lib
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: 952018117a ("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
..
acpi acpi: Kconfig symbol CONFIG_QFW_ACPI 2024-01-07 13:49:15 -07:00
aes lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
at91 lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
blake2 lib: add BLAKE2 hash support 2022-01-18 08:31:02 -05:00
bzip2 lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crypt lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crypto lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
dhry lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
ecdsa mkimage: ecdsa: password for signing from environment 2023-06-20 16:08:13 -04:00
efi efi: Avoid using dm_scan_other() 2024-01-13 18:17:46 +01:00
efi_driver lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
efi_loader efi_loader: simplify error message in efi_disk_create_raw() 2024-02-12 17:35:34 +01:00
efi_selftest efi_selftest: add missing line feed in efi_selftest_miniapp_exit 2024-01-29 11:29:19 +01:00
fwu_updates fwu: fix fwu_get_image_index interface 2024-01-13 18:17:47 +01:00
libavb global: Drop common.h inclusion 2023-12-21 08:54:37 -05:00
libfdt fdt_region: move fdt_region.c to common/ from lib/libfdt/ 2020-04-26 14:23:55 -06:00
lzma lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
lzo lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
optee lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
rsa lib: rsa: Allow legacy URI specification without "pkcs11:" 2024-01-18 17:50:27 -05:00
zlib global: Drop common.h inclusion 2023-12-21 08:54:37 -05:00
zstd lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
.gitignore lib: ignore oid_registry_data.c file 2020-01-22 17:47:57 -05:00
abuf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
addr_map.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
aes.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
asm-offsets.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
asn1_decoder.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
bch.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
binman.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
bitrev.c lib: bitrev: Sync with Linux kernel v4.17 2018-09-18 00:01:18 -06:00
charset.c lib: add comment in utf8_to_utf32_stream() 2024-01-24 16:17:14 -05:00
circbuf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crc7.c lib: add crc7 from Linux 2011-01-18 23:38:08 +01:00
crc8.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crc16-ccitt.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crc16.c crc16: Move standard CRC-16 implementation from ubifs to lib 2022-04-21 14:32:40 -04:00
crc32.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
crc32c.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
ctype.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
date.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
display_options.c display_options: Clean up headers 2023-12-21 08:54:37 -05:00
div64.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
elf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
errno.c sandbox: errno: avoid conflict with libc's errno 2021-05-24 14:21:30 -04:00
errno_str.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
fdt-libcrypto.c lib/rsa: Make fdt_add_bignum() available outside of RSA code 2021-04-14 15:06:08 -04:00
fdtdec.c fdt: Allow the devicetree to come from a bloblist 2024-01-07 13:45:07 -07:00
fdtdec_common.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
fdtdec_test.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
getopt.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
gunzip.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
gzip.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
hang.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
hash-checksum.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
hashtable.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
hexdump.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
image-sparse.c lib: sparse: Fix error checking for write_sparse_chunk_raw 2024-02-09 09:42:04 +01:00
initcall.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
Kconfig Prepare v2024.01-rc5 2023-12-18 09:55:32 -05:00
ldiv.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
linux_compat.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
linux_string.c Make linux kernel string funcs available to tools 2012-12-13 11:46:07 -07:00
list_sort.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
lmb.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
lz4.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
lz4_wrapper.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
Makefile fs: ext4: Fix building ext4 in SPL if write is enabled 2023-10-17 20:50:52 -04:00
md5.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
membuff.c lib: membuff: fix readline not returning line in case of overflow 2024-01-09 14:58:33 +01:00
net_utils.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
of_live.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
oid_registry.c lib: add oid registry utility 2019-12-06 16:44:20 -05:00
panic.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
physmem.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
qsort.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
rand.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
rational.c lib: rational: copy the rational fraction lib routines from Linux 2021-06-11 16:34:52 +05:30
rbtree.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rc4.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
rtc-lib.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
semihosting.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
sha1.c lib/sha*.c: Update header list 2023-12-21 08:54:37 -05:00
sha256.c lib/sha*.c: Update header list 2023-12-21 08:54:37 -05:00
sha512.c lib/sha*.c: Update header list 2023-12-21 08:54:37 -05:00
slre.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
smbios-parser.c smbios: correctly name Structure Table Maximum Size field 2024-02-02 19:57:45 +01:00
smbios.c smbios: correctly name Structure Table Maximum Size field 2024-02-02 19:57:45 +01:00
sscanf.c xen: Code style conformity 2020-08-24 14:11:31 -04:00
string.c Revert "lib: string: Fix strlcpy return value", fix callers 2023-08-08 17:05:43 -04:00
strto.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tables_csum.c lib: make table_compute_checksum() arguments const 2024-01-09 10:08:52 +01:00
time.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tiny-printf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tpm-common.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tpm-utils.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
tpm-v1.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tpm-v2.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
tpm_api.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
trace.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
uuid.c lib: support SMBIOS3 table in uuid_guid_get_str() 2024-01-26 14:17:55 +01:00
vsprintf.c lib: Remove <common.h> inclusion from these files 2023-12-21 08:54:37 -05:00
xxhash.c lib: Add xxhash support 2019-05-05 08:48:50 -04:00