aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2020-02-26 14:53:23 +0100
committerBartosz Golaszewski <[email protected]>2020-03-02 08:52:55 +0100
commit1931479788c5e3c0396a0bde3606e517c64b9f95 (patch)
tree6ae88024c465be5f25baa035323808269c3f196c /tools/perf/scripts/python/exported-sql-viewer.py
parent48543bd8e92880b1ca81b15cf392103dc82cd3e0 (diff)
gpiolib: fix bitmap operations related to line event watching
When operating on the bits of watched_lines bitmap, we're using desc_to_gpio() which returns the GPIO number from the global numberspace. This leads to all sorts of memory corruptions and invalid behavior. We should switch to using gpio_chip_hwgpio() instead. Fixes: 51c1064e82e7 ("gpiolib: add new ioctl() for monitoring changes in line info") Reported-by: Kent Gibson <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]> Tested-by: Kent Gibson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions