Skip to content
Commit 2583303d authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

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: 2a9e2740 ("gpio: mockup: rework debugfs interface")
Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
parent fa59dd23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment