aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-06-09 13:41:26 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-06-20 09:18:47 +0200
commit650b57b083ef22208c1d10e554f964571221bca4 (patch)
tree801d35df9e34746aaa80dea835ddeae2d60d2853 /tools/perf/scripts/python/bin/stackcollapse-record
parentgpio: mockup: improve the debugfs input sanitization (diff)
downloadlinux-650b57b083ef22208c1d10e554f964571221bca4.tar.gz
linux-650b57b083ef22208c1d10e554f964571221bca4.zip
gpio: mockup: tweak gpio_mockup_event_write()
Invert the logic of the irq_enabled check and only access the private data after the input is sanitized. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions