aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/compaction-times-report
diff options
context:
space:
mode:
authorNathan Huckleberry <[email protected]>2019-06-13 11:49:23 -0700
committerZhang Rui <[email protected]>2019-08-28 16:41:02 +0800
commit9aee3713135a6733f6e58ec84c1ce24514579039 (patch)
treeb5189f1b6715baad1a1ab3b0ccd4dffea2b47a89 /tools/perf/scripts/python/bin/compaction-times-report
parentd1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1 (diff)
thermal: armada: Fix -Wshift-negative-value
Clang produces the following warning drivers/thermal/armada_thermal.c:270:33: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 1 warning reg &= ~CONTROL1_TSEN_AVG_MASK << CONTROL1_TSEN_AVG_SHIFT; generated . ~~~~~~~~~~~~~~~~~~~~~~~ ^ CONTROL1_TSEN_AVG_SHIFT is defined to be zero. Since shifting by zero does nothing this variable can be removed. Cc: [email protected] Link: https://github.com/ClangBuiltLinux/linux/issues/532 Signed-off-by: Nathan Huckleberry <[email protected]> Reviewed-by: Daniel Lezcano <[email protected]> Acked-by: Miquel Raynal <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/compaction-times-report')
0 files changed, 0 insertions, 0 deletions