diff options
author | 2019-03-22 18:27:12 +0100 | |
---|---|---|
committer | 2019-03-27 09:56:01 +0100 | |
commit | 2583303debb7acc77295b77901916d08a4c743c2 (patch) | |
tree | dcafb0c6f74db205d336c9b9c10e0ff37c687666 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Revert "gpio: use new gpio_set_config() helper in more places" (diff) | |
download | wireguard-linux-2583303debb7acc77295b77901916d08a4c743c2.tar.xz wireguard-linux-2583303debb7acc77295b77901916d08a4c743c2.zip |
gpio: mockup: fix debugfs read
The debugfs read callback must advance ppos or users using read() on
the file descriptor will never get the EOL. This wasn't spotted before
as I was using busybox cat for testing which uses sendfile() internally
and only noticed it now when switched to cat from coreutils.
Fixes: 2a9e27408e12 ("gpio: mockup: rework debugfs interface")
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions