aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorShuah Khan <[email protected]>2019-12-12 18:56:06 -0700
committerShuah Khan <[email protected]>2019-12-23 10:52:40 -0700
commitc65e41538b04e0d64a673828745a00cb68a24371 (patch)
treed3f967571b7dea4a87ff8dec1731c86048a10fe1 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent7648dd9fc981cec52df8a635fa2eefc249e138b9 (diff)
selftests: firmware: Fix it to do root uid check and skip
firmware attempts to load test modules that require root access and fail. Fix it to check for root uid and exit with skip code instead. Before this fix: selftests: firmware: fw_run_tests.sh modprobe: ERROR: could not insert 'test_firmware': Operation not permitted You must have the following enabled in your kernel: CONFIG_TEST_FIRMWARE=y CONFIG_FW_LOADER=y CONFIG_FW_LOADER_USER_HELPER=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y not ok 1 selftests: firmware: fw_run_tests.sh # SKIP With this fix: selftests: firmware: fw_run_tests.sh skip all tests: must be run as root not ok 1 selftests: firmware: fw_run_tests.sh # SKIP Signed-off-by: Shuah Khan <[email protected]> Reviwed-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions