diff options
author | 2016-02-23 10:49:44 +0000 | |
---|---|---|
committer | 2016-02-29 23:23:16 +0000 | |
commit | 0f17380c1aae80fe0f2fa495cb627ba750b693de (patch) | |
tree | d2a2d19a38e3c2ffc2b9ded0417c3b075a571ca2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm-cci: simplify sysfs attr handling (diff) | |
download | linux-dev-0f17380c1aae80fe0f2fa495cb627ba750b693de.tar.xz linux-dev-0f17380c1aae80fe0f2fa495cb627ba750b693de.zip |
arm-cci: fix handling cpumask_any_but return value
cpumask_any_but returns value >= nr_cpu_ids if there are no more CPUs.
The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].
[1]: http://permalink.gmane.org/gmane.linux.kernel/2038576
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions