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-- | 1.2 KB |
Makefile | -rw-r--r-- | 287 bytes |
acl.c | -rw-r--r-- | 8.0 KB |
acl.h | -rw-r--r-- | 1.7 KB |
cache.c | -rw-r--r-- | 8.6 KB |
cache.h | -rw-r--r-- | 4.4 KB |
fid.c | -rw-r--r-- | 6.8 KB |
fid.h | -rw-r--r-- | 1.3 KB |
v9fs.c | -rw-r--r-- | 16.8 KB |
v9fs.h | -rw-r--r-- | 7.4 KB |
v9fs_vfs.h | -rw-r--r-- | 4.1 KB |
vfs_addr.c | -rw-r--r-- | 8.2 KB |
vfs_dentry.c | -rw-r--r-- | 3.1 KB |
vfs_dir.c | -rw-r--r-- | 5.4 KB |
vfs_file.c | -rw-r--r-- | 17.2 KB |
vfs_inode.c | -rw-r--r-- | 34.1 KB |
vfs_inode_dotl.c | -rw-r--r-- | 24.6 KB |
vfs_super.c | -rw-r--r-- | 8.6 KB |
xattr.c | -rw-r--r-- | 5.1 KB |
xattr.h | -rw-r--r-- | 1.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...