diff options
| author | 2017-11-27 11:48:49 +0100 | |
|---|---|---|
| committer | 2017-12-02 22:42:28 +0100 | |
| commit | fa86963a7546e08efdb32153522c1a42de069c8b (patch) | |
| tree | 406ed558fb99f99a7449b5f8a5ad43985410ff14 /tools/perf/scripts/python/sched-migration.py | |
| parent | gpio: mockup: fix debugfs handling (diff) | |
| download | linux-dev-fa86963a7546e08efdb32153522c1a42de069c8b.tar.xz linux-dev-fa86963a7546e08efdb32153522c1a42de069c8b.zip | |
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/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
