/openbmc/linux/include/linux/ |
H A D | uio.h | 87e5e6da Tue May 14 17:02:22 CDT 2019 Jens Axboe <axboe@kernel.dk> uio: make import_iovec()/compat_import_iovec() return bytes on success
Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success.
Some callers already treat the return value that way, others need a slight tweak.
Signed-off-by: Jens Axboe <axboe@kernel.dk> 87e5e6da Tue May 14 17:02:22 CDT 2019 Jens Axboe <axboe@kernel.dk> uio: make import_iovec()/compat_import_iovec() return bytes on success Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success. Some callers already treat the return value that way, others need a slight tweak. Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
/openbmc/linux/lib/ |
H A D | iov_iter.c | 87e5e6da Tue May 14 17:02:22 CDT 2019 Jens Axboe <axboe@kernel.dk> uio: make import_iovec()/compat_import_iovec() return bytes on success
Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success.
Some callers already treat the return value that way, others need a slight tweak.
Signed-off-by: Jens Axboe <axboe@kernel.dk> 87e5e6da Tue May 14 17:02:22 CDT 2019 Jens Axboe <axboe@kernel.dk> uio: make import_iovec()/compat_import_iovec() return bytes on success Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success. Some callers already treat the return value that way, others need a slight tweak. Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
/openbmc/linux/net/ |
H A D | compat.c | 87e5e6da Tue May 14 17:02:22 CDT 2019 Jens Axboe <axboe@kernel.dk> uio: make import_iovec()/compat_import_iovec() return bytes on success
Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success.
Some callers already treat the return value that way, others need a slight tweak.
Signed-off-by: Jens Axboe <axboe@kernel.dk> 87e5e6da Tue May 14 17:02:22 CDT 2019 Jens Axboe <axboe@kernel.dk> uio: make import_iovec()/compat_import_iovec() return bytes on success Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success. Some callers already treat the return value that way, others need a slight tweak. Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
H A D | socket.c | 87e5e6da Tue May 14 17:02:22 CDT 2019 Jens Axboe <axboe@kernel.dk> uio: make import_iovec()/compat_import_iovec() return bytes on success
Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success.
Some callers already treat the return value that way, others need a slight tweak.
Signed-off-by: Jens Axboe <axboe@kernel.dk> 87e5e6da Tue May 14 17:02:22 CDT 2019 Jens Axboe <axboe@kernel.dk> uio: make import_iovec()/compat_import_iovec() return bytes on success Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success. Some callers already treat the return value that way, others need a slight tweak. Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
/openbmc/linux/fs/ |
H A D | splice.c | 87e5e6da Tue May 14 17:02:22 CDT 2019 Jens Axboe <axboe@kernel.dk> uio: make import_iovec()/compat_import_iovec() return bytes on success
Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success.
Some callers already treat the return value that way, others need a slight tweak.
Signed-off-by: Jens Axboe <axboe@kernel.dk> 87e5e6da Tue May 14 17:02:22 CDT 2019 Jens Axboe <axboe@kernel.dk> uio: make import_iovec()/compat_import_iovec() return bytes on success Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success. Some callers already treat the return value that way, others need a slight tweak. Signed-off-by: Jens Axboe <axboe@kernel.dk>
|
H A D | aio.c | 87e5e6da Tue May 14 17:02:22 CDT 2019 Jens Axboe <axboe@kernel.dk> uio: make import_iovec()/compat_import_iovec() return bytes on success
Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success.
Some callers already treat the return value that way, others need a slight tweak.
Signed-off-by: Jens Axboe <axboe@kernel.dk> 87e5e6da Tue May 14 17:02:22 CDT 2019 Jens Axboe <axboe@kernel.dk> uio: make import_iovec()/compat_import_iovec() return bytes on success Currently these functions return < 0 on error, and 0 for success. Change that so that we return < 0 on error, but number of bytes for success. Some callers already treat the return value that way, others need a slight tweak. Signed-off-by: Jens Axboe <axboe@kernel.dk>
|