From 17d86c3c14302577d971713fd998b9c1c795aaf9 Mon Sep 17 00:00:00 2001 From: Archana Shinde Date: Mon, 10 Feb 2020 12:09:51 -0800 Subject: [PATCH] kernel: Always apply whitelist The whitelist contains options that we dont really care. Always apply it, irrespective of if we are using an experimental kernel. Signed-off-by: Archana Shinde --- kernel/build-kernel.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/build-kernel.sh b/kernel/build-kernel.sh index 4f36dc9641..6718d62005 100755 --- a/kernel/build-kernel.sh +++ b/kernel/build-kernel.sh @@ -201,10 +201,8 @@ get_kernel_frag_path() { results=$( ${cmdpath} -r -n ${all_configs} ) # Only consider results highlighting "not in final" results=$(grep "${not_in_string}" <<< "$results") - # Do not care about options that are in whitelist if using experimental kernel - if [[ ${experimental_kernel} == "true" ]]; then - results=$(grep -v -f ${default_config_whitelist} <<< "$results") - fi + # Do not care about options that are in whitelist + results=$(grep -v -f ${default_config_whitelist} <<< "$results") # Did we request any entries that did not make it? local missing=$(echo $results | grep -v -q "${not_in_string}"; echo $?)