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 |
---|---|---|
Makefile | -rw-r--r-- | 231 bytes |
af_netrom.c | -rw-r--r-- | 32.3 KB |
nr_dev.c | -rw-r--r-- | 3.9 KB |
nr_in.c | -rw-r--r-- | 7.0 KB |
nr_loopback.c | -rw-r--r-- | 1.8 KB |
nr_out.c | -rw-r--r-- | 5.9 KB |
nr_route.c | -rw-r--r-- | 21.9 KB |
nr_subr.c | -rw-r--r-- | 6.1 KB |
nr_timer.c | -rw-r--r-- | 5.4 KB |
sysctl_net_netrom.c | -rw-r--r-- | 4.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...