diff options
| author | Bartosz Golaszewski <[email protected]> | 2019-03-28 11:38:06 +0100 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2019-03-28 18:04:53 +0100 |
| commit | ce9fb53c72834646f26ecb2213e40e6876048f87 (patch) | |
| tree | 495c2e6fcc3c0f681257936101b19479f2ab91d0 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 2583303debb7acc77295b77901916d08a4c743c2 (diff) | |
gpio: mockup: use simple_read_from_buffer() in debugfs read callback
Calling read() for a single byte read will return 2 currently. Use
simple_read_from_buffer() which correctly handles all sizes.
Fixes: 2a9e27408e12 ("gpio: mockup: rework debugfs interface")
Reviewed-by: Mukesh Ojha <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions