Revision ce9fb53c72834646f26ecb2213e40e6876048f87 authored by Bartosz Golaszewski on 28 March 2019, 10:38:06 UTC, committed by Bartosz Golaszewski on 28 March 2019, 17:04:53 UTC
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 <mojha@codeaurora.org> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
1 parent 2583303
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 369 bytes |
Makefile | -rw-r--r-- | 103 bytes |
xdp_umem.c | -rw-r--r-- | 8.7 KB |
xdp_umem.h | -rw-r--r-- | 639 bytes |
xsk.c | -rw-r--r-- | 17.3 KB |
xsk.h | -rw-r--r-- | 225 bytes |
xsk_diag.c | -rw-r--r-- | 4.5 KB |
xsk_queue.c | -rw-r--r-- | 2.4 KB |
xsk_queue.h | -rw-r--r-- | 5.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...