diff options
author | Joshua Scott <joshua.scott@alliedtelesis.co.nz> | 2015-05-22 12:35:12 +1200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-06-01 16:53:55 +0200 |
commit | b6ac1280b6969607c5a01e316cc4ab693490c333 (patch) | |
tree | 08f9f9f49b0014d3942d9cf34b5280aff50239ef /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 121dcb760426ca67ee90a8b2db6a75eee010f8e3 (diff) |
gpio: Prevent an integer overflow in the pca953x driver
Interrupts were missed if an 8-bit integer overflow occurred. This was
observed when bank0,pin7 and bank1,pin7 changed simultaniously.
As the 8-bit totals were only checked against zero, replace them with
booleans. Name the booleans so that their purpose is clear.
Signed-off-by: Joshua Scott <joshua.scott@alliedtelesis.co.nz>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions