mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-11 17:20:53 +00:00
The crypto dependencies for the firmwware loader are incomplete,
in particular a built-in FW_LOADER fails to link against a modular
crypto hash driver:
ld.lld: error: undefined symbol: crypto_alloc_shash
ld.lld: error: undefined symbol: crypto_shash_digest
ld.lld: error: undefined symbol: crypto_destroy_tfm
>>> referenced by main.c
>>> drivers/base/firmware_loader/main.o:(fw_log_firmware_info) in archive vmlinux.a
Rework this to use the usual 'select' from the driver module,
to respect the built-in vs module dependencies, and add a
more verbose crypto dependency to the debug option to prevent
configurations that lead to a link failure.
Fixes:
|
||
|---|---|---|
| .. | ||
| builtin | ||
| fallback_platform.c | ||
| fallback_table.c | ||
| fallback.c | ||
| fallback.h | ||
| firmware.h | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||
| sysfs_upload.c | ||
| sysfs_upload.h | ||
| sysfs.c | ||
| sysfs.h | ||