aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/kprobes.c
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2016-08-17 12:03:05 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-08-22 11:09:33 +1000
commit6096481649ac27466cf2b453f185b43f680bf541 (patch)
treec7711132e4e63561e52070d6049d3d3e5283f30c /arch/powerpc/kernel/kprobes.c
parentpowerpc/pseries: use pci_host_bridge.release_fn() to kfree(phb) (diff)
downloadlinux-dev-6096481649ac27466cf2b453f185b43f680bf541.tar.xz
linux-dev-6096481649ac27466cf2b453f185b43f680bf541.zip
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 'arch/powerpc/kernel/kprobes.c')
0 files changed, 0 insertions, 0 deletions