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 |
---|---|---|
ChangeLog | -rw-r--r-- | 14.0 KB |
Kconfig | -rw-r--r-- | 917 bytes |
Makefile | -rw-r--r-- | 206 bytes |
TODO | -rw-r--r-- | 385 bytes |
befs.h | -rw-r--r-- | 3.0 KB |
befs_fs_types.h | -rw-r--r-- | 5.0 KB |
btree.c | -rw-r--r-- | 21.9 KB |
btree.h | -rw-r--r-- | 343 bytes |
datastream.c | -rw-r--r-- | 15.9 KB |
datastream.h | -rw-r--r-- | 575 bytes |
debug.c | -rw-r--r-- | 7.1 KB |
endian.h | -rw-r--r-- | 3.2 KB |
inode.c | -rw-r--r-- | 1.2 KB |
inode.h | -rw-r--r-- | 120 bytes |
io.c | -rw-r--r-- | 1.4 KB |
io.h | -rw-r--r-- | 110 bytes |
linuxvfs.c | -rw-r--r-- | 25.6 KB |
super.c | -rw-r--r-- | 3.3 KB |
super.h | -rw-r--r-- | 131 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...