diff options
| author | Stephen Boyd <sboyd@codeaurora.org> | 2016-01-30 04:09:01 +0300 |
|---|---|---|
| committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-01-30 04:11:02 +0300 |
| commit | 3d6f1c7212d0823cbc056b1c184c7fe0cfef553a (patch) | |
| tree | bdc54561d15c3f79b97142a59b16167d1f51a816 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 62d1e7823d9c3b454dcbffd58f35c5fa96172644 (diff) | |
| download | linux-3d6f1c7212d0823cbc056b1c184c7fe0cfef553a.tar.xz | |
clk: axi-clkgen: Remove sometimes impossible check
The size of unsigned long on 64-bit architectures is equal to the
size of u64, so this check is impossible there. This throws off
static checkers:
drivers/clk/clk-axi-clkgen.c:331 axi_clkgen_recalc_rate() warn:
impossible condition '(tmp > (~0)) => (0-u64max > u64max)'
Let's change this code to use min_t() instead so that we
get the same effect on architectures where sizeof(unsigned long)
doesn't equal sizeof(u64).
Cc: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
