aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/sendmsg4_prog.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-04-14 10:03:07 +0200
committerGreg Kroah-Hartman <[email protected]>2023-04-20 11:42:31 +0200
commitbedee105bf4a072294af068d89ec2d2bb5f457ae (patch)
tree896b6da999466d66b40e4ac2ccce25fe2bd3c4bb /tools/testing/selftests/bpf/progs/sendmsg4_prog.c
parent495ff36388e8b71eb49e9242c8e04e06c5609e74 (diff)
firmware_loader: rework crypto dependencies
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: 02fe26f25325 ("firmware_loader: Add debug message with checksum for FW file") Reviewed-by: Amadeusz Sławiński <[email protected]> Acked-by: Herbert Xu <[email protected]> Acked-by: Luis Chamberlain <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg4_prog.c')
0 files changed, 0 insertions, 0 deletions