aboutsummaryrefslogtreecommitdiffstats
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorJohn Hubbard <[email protected]>2024-07-05 19:57:35 +0000
committerShuah Khan <[email protected]>2024-07-05 20:12:28 +0000
commitbb2a605de3757ec8c39e5706cfac3deed5694228 (patch)
treef21a79c92508196f70fd7e0333e45f994bf05746 /lib/strncpy_from_user.c
parentselftests/vDSO: fix clang build errors and warnings (diff)
downloadkernel-bb2a605de3757ec8c39e5706cfac3deed5694228.tar.gz
kernel-bb2a605de3757ec8c39e5706cfac3deed5694228.zip
selftests/vDSO: remove partially duplicated "all:" target in Makefile
There were a couple of errors here: 1. TEST_GEN_PROGS was incorrectly prepending $(OUTPUT) to each program to be built. However, lib.mk already does that because it assumes "bare" program names are passed in, so this ended up creating $(OUTPUT)/$(OUTPUT)/file.c, which of course won't work as intended. 2. lib.mk was included before TEST_GEN_PROGS was set, which led to lib.mk's "all:" target not seeing anything to rebuild. So nothing worked, which caused the author to force things by creating an "all:" target locally--while still including ../lib.mk. Fix all of this by including ../lib.mk at the right place, and removing the $(OUTPUT) prefix to the programs to be built, and removing the duplicate "all:" target. Reviewed-by: Muhammad Usama Anjum <[email protected]> Signed-off-by: John Hubbard <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions