summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2017-11-27 13:48:48 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-12-03 00:42:28 +0300
commit46526c15cadcba43c69e22a6dfaf3f6f444c70aa (patch)
treea5fe72d572d13aeb33fe7ad70a07187779c800d7 /tools/perf/scripts/python/export-to-sqlite.py
parent1cea4734f954ea66f3c9e89199823f6b917a8e7a (diff)
downloadlinux-46526c15cadcba43c69e22a6dfaf3f6f444c70aa.tar.xz
gpio: mockup: fix debugfs handling
The debugfs routines returning pointers can return NULL or error codes embedded with ERR_PTR(). Check the return values with IS_ERR_OR_NULL(). While we're at it: make the error message more specific so it's not confused with the one emitted when the top-level gpio-mockup debugfs directory creation fails. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions