diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2016-08-17 13:03:05 +0300 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2016-08-22 04:09:33 +0300 |
commit | 6096481649ac27466cf2b453f185b43f680bf541 (patch) | |
tree | c7711132e4e63561e52070d6049d3d3e5283f30c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2dd9c11b9d4dfbd6c070eab7b81197f65e82f1a0 (diff) | |
download | linux-6096481649ac27466cf2b453f185b43f680bf541.tar.xz |
powerpc/powernv/pci: fix iterator signedness
Unsigned type is always non-negative, so the loop could not end in case
condition is never true.
The problem has been detected using semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions