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 |
---|---|---|
dnotify | ||
fanotify | ||
inotify | ||
Kconfig | -rw-r--r-- | 148 bytes |
Makefile | -rw-r--r-- | 183 bytes |
fdinfo.c | -rw-r--r-- | 4.2 KB |
fdinfo.h | -rw-r--r-- | 558 bytes |
fsnotify.c | -rw-r--r-- | 11.9 KB |
fsnotify.h | -rw-r--r-- | 2.4 KB |
group.c | -rw-r--r-- | 4.6 KB |
mark.c | -rw-r--r-- | 24.8 KB |
notification.c | -rw-r--r-- | 6.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...