diff options
author | Muhammad Usama Anjum <usama.anjum@collabora.com> | 2024-04-14 11:26:53 +0500 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-05-06 13:57:20 -0600 |
commit | 557f1375275e04ef92d22aa14203e4b763fbd22b (patch) | |
tree | 9fdd682975a8feea1fc3f874cc47bb42619803ab /scripts/gdb/linux/proc.py | |
parent | 6a5695119e0a8755d907a9a76b08307e41b98fec (diff) |
selftests: Mark ksft_exit_fail_perror() as __noreturn
Let the compilers (clang) know that this function would just call
exit() and would never return. It is needed to avoid false positive
static analysis errors. All similar functions calling exit()
unconditionally have been marked as __noreturn.
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions