summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2026-08-20 17:23:29 +0200
committerDanilo Krummrich <dakr@kernel.org>2026-09-01 16:59:48 +0200
commitbb3a94a6828336dcc2dd891e51ebd92dcdd0b576 (patch)
treef880f64f07141530f20a47cb04d2b058c294b38b /scripts/Makefile.thinlto
parentcee9395acd8043be0644b25c34bfa86623f2b935 (diff)
downloadlinux-stable-bb3a94a6828336dcc2dd891e51ebd92dcdd0b576.tar.gz
linux-stable-bb3a94a6828336dcc2dd891e51ebd92dcdd0b576.zip
drivers: base: test: DRIVER_PE_KUNIT_TEST should not select OF
Enabling a (modular) test should not silently enable additional kernel functionality, as that may increase the attack vector for a product. Fix this by skipping the new test when OF support is disabled instead of selecting OF support. Note that when OF support is disabled, the compiler optimizes away the then unused reference to of_fwnode_ops in of_node_init(), so linking succeeds. Fixes: 0e6f8ccd4618afdb ("device property: add test cases for fwnode_for_each_child_node()") Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Link: https://patch.msgid.link/8dfb4afaf70b59cd33af9296464395470405187e.1787239268.git.geert@linux-m68k.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions