OrangePi_CM5/tools/testing/selftests/vm
Guillaume Tucker 9e63bcb71d selftests, x86: fix how check_cc.sh is being invoked
[ Upstream commit ef696f93ed9778d570bd5ac58414421cdd4f1aab ]

The $(CC) variable used in Makefiles could contain several arguments
such as "ccache gcc".  These need to be passed as a single string to
check_cc.sh, otherwise only the first argument will be used as the
compiler command.  Without quotes, the $(CC) variable is passed as
distinct arguments which causes the script to fail to build trivial
programs.

Fix this by adding quotes around $(CC) when calling check_cc.sh to pass
the whole string as a single argument to the script even if it has
several words such as "ccache gcc".

Link: https://lkml.kernel.org/r/d0d460d7be0107a69e3c52477761a6fe694c1840.1646991629.git.guillaume.tucker@collabora.com
Fixes: e9886ace22 ("selftests, x86: Rework x86 target architecture detection")
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Tested-by: "kernelci.org bot" <bot@kernelci.org>
Reviewed-by: Guenter Roeck <groeck@google.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Borislav Petkov <bp@suse.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:04 +02:00
..
.gitignore
…
Makefile selftests, x86: fix how check_cc.sh is being invoked 2022-04-08 14:40:04 +02:00
charge_reserved_hugetlb.sh
…
compaction_test.c
…
config
…
gup_benchmark.c
…
hmm-tests.c mm/hmm.c: allow VM_MIXEDMAP to work with hmm_range_fault 2022-01-27 10:54:36 +01:00
hugepage-mmap.c
…
hugepage-shm.c
…
hugetlb_reparenting_test.sh
…
khugepaged.c
…
map_fixed_noreplace.c selftest/vm: fix map_fixed_noreplace test failure 2022-03-16 14:16:00 +01:00
map_hugetlb.c
…
map_populate.c
…
mlock-random-test.c
…
mlock2-tests.c
…
mlock2.h
…
mremap_dontunmap.c
…
on-fault-limit.c
…
pkey-helpers.h
…
pkey-powerpc.h
…
pkey-x86.h
…
protection_keys.c selftests/vm/pkeys: refill shadow register after implicit kernel write 2021-07-14 16:56:52 +02:00
run_vmtests
…
test_hmm.sh
…
test_vmalloc.sh
…
thuge-gen.c
…
transhuge-stress.c
…
userfaultfd.c kselftest/vm: fix tests build with old libc 2022-03-19 13:44:46 +01:00
va_128TBswitch.c
…
virtual_address_range.c
…
write_hugetlb_memory.sh
…
write_to_hugetlbfs.c
…