diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-09-16 03:11:15 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-11-25 21:01:21 +0300 |
commit | a41dad905e5a388f88435a517de102e9b2c8e43d (patch) | |
tree | 7baa31b38159a8e003c269b5f994f85997412730 /drivers/usb/usbip/usbip_common.c | |
parent | fc02f33787d8dd227b54f263eba983d5b249c032 (diff) | |
download | linux-a41dad905e5a388f88435a517de102e9b2c8e43d.tar.xz |
iov_iter: saner checks for attempt to copy to/from iterator
instead of "don't do it to ITER_PIPE" check for ->data_source being
false on copying from iterator. Check for !->data_source for
copying to iterator, while we are at it.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/usb/usbip/usbip_common.c')
0 files changed, 0 insertions, 0 deletions