summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/access_variable_array.c
diff options
context:
space:
mode:
authorNir Lichtman <nir@lichtman.org>2025-01-10 15:05:00 +0300
committerIngo Molnar <mingo@kernel.org>2025-02-25 23:13:33 +0300
commite451630226bd09dc730eedb4e32cab1cc7155ae8 (patch)
treede1030f338d1af2ce1ec5ddaae56d2803f39b926 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c
parentd082ecbc71e9e0bf49883ee4afd435a77a5101b6 (diff)
downloadlinux-e451630226bd09dc730eedb4e32cab1cc7155ae8.tar.xz
x86/build: Fix broken copy command in genimage.sh when making isoimage
Problem: Currently when running the "make isoimage" command there is an error related to wrong parameters passed to the cp command: "cp: missing destination file operand after 'arch/x86/boot/isoimage/'" This is caused because FDINITRDS is an empty array. Solution: Check if FDINITRDS is empty before executing the "cp" command, similar to how it is done in the case of hdimage. Signed-off-by: Nir Lichtman <nir@lichtman.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Ard Biesheuvel <ardb@kernel.org> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Michal Marek <michal.lkml@markovi.net> Link: https://lore.kernel.org/r/20250110120500.GA923218@lichtman.org
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions