aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2021-01-19 10:49:19 -0800
committerLinus Torvalds <[email protected]>2021-01-20 16:48:47 -0800
commitdd78b0c483e33225e0e0782b0ed887129b00f956 (patch)
tree4c44382f91a326c8c3990e7949fc8445e57a5f58 /drivers/usb/cdns3/cdns3-imx.c
parent3b830a9c34d5897be07176ce4e6f2d75e2c8cfd7 (diff)
tty: implement read_iter
Now that the ldisc read() function takes kernel pointers, it's fairly straightforward to make the tty file operations use .read_iter() instead of .read(). That automatically gives us vread() and friends, and also makes it possible to do .splice_read() on ttys again. Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops") Reported-by: Oliver Giles <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions