From 91ee86eced7b10536c294866cd3b5e75e5a06a9a Mon Sep 17 00:00:00 2001 From: Jon Hunter Date: Wed, 3 Apr 2024 13:06:11 +0100 Subject: [PATCH] conftest: Fix test for SLAB_MEM_SPREAD The conftest test for detecting if the definition SLAB_MEM_SPREAD is present is not working as expected because it is using the 'functions' type which is intended for only checking if a function is present or not. Fix this by correcting the type to 'types'. Bug 4471899 Change-Id: Iba3c9fe70a97793576d9f188d50628acb55f44df Signed-off-by: Jon Hunter (cherry picked from commit b8b92d5d5f8c8781c89d17377e0cb788219da211) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3111545 Tested-by: mobile promotions Reviewed-by: mobile promotions --- scripts/conftest/conftest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/conftest/conftest.sh b/scripts/conftest/conftest.sh index 7fc1aa54..11d376f9 100755 --- a/scripts/conftest/conftest.sh +++ b/scripts/conftest/conftest.sh @@ -7390,7 +7390,7 @@ compile_test() { slab_flags_t flags = SLAB_MEM_SPREAD; }" - compile_check_conftest "$CODE" "NV_SLAB_MEM_SPREAD" "" "functions" + compile_check_conftest "$CODE" "NV_SLAB_MEM_SPREAD" "" "types" ;; snd_soc_card_jack_new_has_no_snd_soc_jack_pins)