mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
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 <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3108683 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
037fa78728
commit
b8b92d5d5f
@@ -7451,7 +7451,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)
|
||||
|
||||
Reference in New Issue
Block a user