diff options
author | Nathan Huckleberry <[email protected]> | 2019-06-17 10:28:29 -0700 |
---|---|---|
committer | Masahiro Yamada <[email protected]> | 2019-06-24 03:43:03 +0900 |
commit | 4df607cc6fe8e46b258ff2a53d0a60ca3008ffc7 (patch) | |
tree | 386dc54c1edc73efab02805380a25264872d11bd /tools/perf/scripts/python/syscall-counts.py | |
parent | 72ad21075df8a960007fb84b4c97e3ac55010f6a (diff) |
kbuild: Remove unnecessary -Wno-unused-value
This flag turns off several other warnings that would
be useful. Most notably -warn_unused_result is disabled.
All of the following warnings are currently disabled:
UnusedValue
|-UnusedComparison
|-warn_unused_comparison
|-UnusedResult
|-warn_unused_result
|-UnevaluatedExpression
|-PotentiallyEvaluatedExpression
|-warn_side_effects_typeid
|-warn_side_effects_unevaluated_context
|-warn_unused_expr
|-warn_unused_voidptr
|-warn_unused_container_subscript_expr
|-warn_unused_call
With this flag removed there are ~10 warnings.
Patches have been submitted for each of these warnings.
Reported-by: Nick Desaulniers <[email protected]>
Cc: [email protected]
Link: https://github.com/ClangBuiltLinux/linux/issues/520
Signed-off-by: Nathan Huckleberry <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions