diff options
| author | Bartosz Golaszewski <[email protected]> | 2017-11-27 11:48:48 +0100 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2017-12-02 22:42:28 +0100 |
| commit | 46526c15cadcba43c69e22a6dfaf3f6f444c70aa (patch) | |
| tree | a5fe72d572d13aeb33fe7ad70a07187779c800d7 /tools/perf/scripts/python/sched-migration.py | |
| parent | 1cea4734f954ea66f3c9e89199823f6b917a8e7a (diff) | |
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 <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions