diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2017-11-27 11:48:49 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-12-02 22:42:28 +0100 |
commit | fa86963a7546e08efdb32153522c1a42de069c8b (patch) | |
tree | 406ed558fb99f99a7449b5f8a5ad43985410ff14 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 46526c15cadcba43c69e22a6dfaf3f6f444c70aa (diff) |
gpio: mockup: verify that ngpio > 0
Improve the module params sanitization: bail out from init if the user
tries to pass a non-positive number of GPIO lines for any mockup chip.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions