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
io.h
/*
* io.h
*/
struct buffer_head *befs_bread_iaddr(struct super_block *sb,
befs_inode_addr iaddr);
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...