linux: Hide test warnings from 4.16+ kernels

This commit is contained in:
Tim Steinbach 2018-04-08 18:55:09 -04:00
parent 8fe9b023b3
commit c1e1690f62
No known key found for this signature in database
GPG key ID: 472BFCCA96BD0EDA

View file

@ -32,7 +32,6 @@ with stdenv.lib;
# Debugging.
DEBUG_KERNEL y
DYNAMIC_DEBUG y
BACKTRACE_SELF_TEST n
DEBUG_DEVRES n
DEBUG_STACK_USAGE n
DEBUG_STACKOVERFLOW n
@ -640,43 +639,46 @@ with stdenv.lib;
# This menu disables all/most of them on >= 4.16
RUNTIME_TESTING_MENU? n
# For older kernels, painstakingly disable each symbol.
ARM_KPROBES_TEST? n
ASYNC_RAID6_TEST? n
ATOMIC64_SELFTEST? n
BACKTRACE_SELF_TEST? n
${optionalString (versionOlder version "4.16") ''
ARM_KPROBES_TEST? n
ASYNC_RAID6_TEST? n
ATOMIC64_SELFTEST? n
BACKTRACE_SELF_TEST? n
INTERVAL_TREE_TEST? n
PERCPU_TEST? n
RBTREE_TEST? n
TEST_BITMAP? n
TEST_BPF? n
TEST_FIRMWARE? n
TEST_HASH? n
TEST_HEXDUMP? n
TEST_KMOD? n
TEST_KSTRTOX? n
TEST_LIST_SORT? n
TEST_LKM? n
TEST_PARMAN? n
TEST_PRINTF? n
TEST_RHASHTABLE? n
TEST_SORT? n
TEST_STATIC_KEYS? n
TEST_STRING_HELPERS? n
TEST_UDELAY? n
TEST_USER_COPY? n
TEST_UUID? n
''}
CRC32_SELFTEST? n
CRYPTO_TEST? n
DRM_DEBUG_MM_SELFTEST? n
EFI_TEST? n
GLOB_SELFTEST? n
INTERVAL_TREE_TEST? n
LNET_SELFTEST? n
LOCK_TORTURE_TEST? n
MTD_TESTS? n
NOTIFIER_ERROR_INJECTION? n
PERCPU_TEST? n
RBTREE_TEST? n
RCU_PERF_TEST? n
RCU_TORTURE_TEST? n
TEST_ASYNC_DRIVER_PROBE? n
TEST_BITMAP? n
TEST_BPF? n
TEST_FIRMWARE? n
TEST_HASH? n
TEST_HEXDUMP? n
TEST_KMOD? n
TEST_KSTRTOX? n
TEST_LIST_SORT? n
TEST_LKM? n
TEST_PARMAN? n
TEST_PRINTF? n
TEST_RHASHTABLE? n
TEST_SORT? n
TEST_STATIC_KEYS? n
TEST_STRING_HELPERS? n
TEST_UDELAY? n
TEST_USER_COPY? n
TEST_UUID? n
WW_MUTEX_SELFTEST? n
XZ_DEC_TEST? n