aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-07-03 13:29:13 +0200
committerVishal Verma <[email protected]>2023-07-14 14:32:22 -0600
commit9171dfcda4f26dc6ebfd8d50137c5f294c2060ee (patch)
treed1d690c92839fdc4ba0e9b09d8a7fdd70c1f18a6 /lib/test-string_helpers.c
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff)
cxl: fix CONFIG_FW_LOADER dependency
When FW_LOADER is disabled, cxl fails to link: arm-linux-gnueabi-ld: drivers/cxl/core/memdev.o: in function `cxl_memdev_setup_fw_upload': memdev.c:(.text+0x90e): undefined reference to `firmware_upload_register' memdev.c:(.text+0x93c): undefined reference to `firmware_upload_unregister' In order to use the firmware_upload_register() function, both FW_LOADER and FW_UPLOAD have to be enabled, which is a bit confusing. In addition, the dependency is on the wrong symbol, as the caller is part of the cxl_core.ko module, not the cxl_mem.ko module. Fixes: 9521875bbe005 ("cxl: add a firmware update mechanism using the sysfs firmware loader") Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Xiao Yang <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Signed-off-by: Vishal Verma <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions